A CDR decoder, which reads primitives back in the order they were written.
Reading past the end returns null rather than throwing, because a short buffer is a wire condition rather than a programming error.
null
Creates a decoder over encoded bytes.
Throws if the bytes carry no valid CDR encapsulation header.
Reads the next 32-bit float, or null once exhausted.
Reads the next 64-bit float, or null once exhausted.
Reads the next 32-bit signed integer, or null once exhausted.
Reads the next 32-bit unsigned integer, or null once exhausted.
A CDR decoder, which reads primitives back in the order they were written.
Reading past the end returns
nullrather than throwing, because a short buffer is a wire condition rather than a programming error.