java.lang.Object
org.yamcs.parameterarchive.SegmentEncoderDecoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BaseSegmentdecode(byte[] buf, long segmentStart) static SortedIntArraydecodeGaps(byte[] buf) static byte[]encode(BaseSegment valueSegment) static byte[]encodeGaps(int idx1, int idx2) static byte[]encodeGaps(int segStartIdxInsideInterval, SortedIntArray gaps) the gaps is a sorted int array so we encode it with the same encoding like the time segment
-
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
-
encodeGaps
public static byte[] encodeGaps(int idx1, int idx2)
-