Package org.yamcs.parameterarchive
Class SegmentEncoderDecoder
java.lang.Object
org.yamcs.parameterarchive.SegmentEncoderDecoder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(byte[] buf, long segmentStart) decodeGaps
(byte[] buf) byte[]
encode
(BaseSegment valueSegment) byte[]
encodeGaps
(SortedIntArray gaps) the gaps is a sorted int array so we encode it with the same encoding like the time segment
-
Field Details
-
FORMAT_ID_GAPS_SortedIntArray
public static final byte FORMAT_ID_GAPS_SortedIntArray- See Also:
-
-
Constructor Details
-
SegmentEncoderDecoder
public SegmentEncoderDecoder()
-
-
Method Details
-
encode
-
decode
- Throws:
DecodingException
-
encodeGaps
the gaps is a sorted int array so we encode it with the same encoding like the time segment -
decodeGaps
- Throws:
DecodingException
-