///|
/// The two integer compression formats identified by miniSEED codes 10 and 11.
#derive(Eq)
pub(all) enum Encoding {
Steim1
Steim2
}
///|
/// Frame and word positions are zero-based. Sample counts include the first
/// integration constant, which corresponds to the first packed difference.
pub(all) suberror CodecError {
InvalidPayloadLength(Int32)
InvalidSampleCount(Int32)
InvalidFrameBudget(Int32)
InvalidFrameControl(Int32)
ReservedSteim2Mode(Int32, Int32, Int32, Int32)
TooFewDifferences(Int32, Int32)
ReverseConstantMismatch(Int32, Int32)
}
///|
const MaxSamples = 16777216