Convert sensor_msgs/PointCloud2 to NitrosTensorList example

I am trying to create Custom NITROS encoder node that converts a sensor_msgs/PointCloud2 message to NitrosTensorList and aggregate the NitrosTensorList for the next 10 messages(point cloud messages) to make it dense and convert back using the Custom NITROS decoder node that converts NitrosTensorList into a densesensor_msgs/PointCloud2, is there some examples that I can refer to ?