Class CcsdsPacketInputStream

java.lang.Object
org.yamcs.tctm.CcsdsPacketInputStream
All Implemented Interfaces:
Closeable, AutoCloseable, PacketInputStream

public class CcsdsPacketInputStream extends Object implements PacketInputStream
Reads CCSDS packets from an input stream: first it reads 6 bytes primary header, it derives the length from the last two bytes and reads the remaining of the data. It also support a maxLength property to limit the size of the packet that is being read.