public class CcsdsPacketInputStream extends Object implements PacketInputStream
| Constructor and Description |
|---|
CcsdsPacketInputStream(InputStream inputStream) |
CcsdsPacketInputStream(InputStream inputStream,
Map<String,Object> args) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
readPacket()
read the next packet - blocking if necessary until all the data is available.
|
public CcsdsPacketInputStream(InputStream inputStream, Map<String,Object> args)
public CcsdsPacketInputStream(InputStream inputStream)
public byte[] readPacket()
throws IOException
PacketInputStreamreadPacket in interface PacketInputStreamEOFException - if this input stream reaches the end before reading eight bytes.IOException - an I/O error has occurredCopyright © 2018 Space Applications Services. All rights reserved.