Transform PointCloudProto to RangeScanProto

I saw there is a codelet on //packages/livox, but the isaac.perception.RangeScanFlattening need the RangeScanProto format, how can transform? or where is the similar source for reference?

isaac.navigation.ParticleFilterLocalization also use the FlatscanProto, so need to know it.