Package org.orekit.gnss.metric.parser
Class ByteArrayEncodedMessage
- java.lang.Object
-
- org.orekit.gnss.metric.parser.AbstractEncodedMessage
-
- org.orekit.gnss.metric.parser.ByteArrayEncodedMessage
-
- All Implemented Interfaces:
EncodedMessage
public class ByteArrayEncodedMessage extends AbstractEncodedMessage
Encoded message as a byte array.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description ByteArrayEncodedMessage(byte[] message)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected int
fetchByte()
Fetch the next byte from the message.void
start()
Start message extraction.-
Methods inherited from class org.orekit.gnss.metric.parser.AbstractEncodedMessage
extractBits
-
-
-
-
Method Detail
-
start
public void start()
Start message extraction.- Specified by:
start
in interfaceEncodedMessage
- Overrides:
start
in classAbstractEncodedMessage
-
fetchByte
protected int fetchByte()
Fetch the next byte from the message.- Specified by:
fetchByte
in classAbstractEncodedMessage
- Returns:
- next byte from the message, as a primitive integer, or -1 if end of data has been reached
-
-