Crabbit::AMQP::Decoder
Bounds-checked decoder for generic AMQP 1.0 values.
Decoding copies binary values by default. With zero_copy, returned binary slices reference the input buffer; callers must keep it alive and immutable.
Constants
MAX_CONTAINER_ELEMENTS = 1000000
Maximum number of elements accepted from an AMQP container declaration.
Constructors
Instance methods
Consumes the next numeric descriptor and validates it against expected.
peek_described_descriptor
Returns the numeric descriptor of the next described value without
consuming input, or nil when it is absent or non-numeric.