Package org.orekit.gnss.metric.parser
Class InputStreamEncodedMessage
- java.lang.Object
-
- org.orekit.gnss.metric.parser.AbstractEncodedMessage
-
- org.orekit.gnss.metric.parser.InputStreamEncodedMessage
-
- All Implemented Interfaces:
EncodedMessage
public class InputStreamEncodedMessage extends AbstractEncodedMessage
Encoded message from an input stream.- Since:
- 11.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description InputStreamEncodedMessage(InputStream stream)
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.-
Methods inherited from class org.orekit.gnss.metric.parser.AbstractEncodedMessage
extractBits, start
-
-
-
-
Constructor Detail
-
InputStreamEncodedMessage
public InputStreamEncodedMessage(InputStream stream)
Simple constructor.- Parameters:
stream
- input stream providing the message
-
-
Method Detail
-
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
-
-