Package org.orekit.gnss.metric.parser
Interface EncodedMessage
- All Known Implementing Classes:
AbstractEncodedMessage,ByteArrayEncodedMessage,HexadecimalSequenceEncodedMessage,InputStreamEncodedMessage,StreamMonitor
public interface EncodedMessage
Interface for getting bits forming encoded messages.
Classes implementing this interface must contain exactly one complete message.
- Since:
- 11.0
- Author:
- Luc Maisonobe
-
Method Summary
Modifier and TypeMethodDescriptionlongextractBits(int n) Extract the next n bits from the encoded message.default voidstart()Start message extraction.
-
Method Details
-
start
default void start()Start message extraction. -
extractBits
long extractBits(int n) Extract the next n bits from the encoded message.- Parameters:
n- number of bits to extract (cannot exceed 32 bits)- Returns:
- bits packed as the LSB of a 64 bits primitive long
-