serializeSequenceLength method
Serializes a sequence length header.
Must be followed by exactly length serialized elements of the
same type to form a valid sequence.
Implementation
void serializeSequenceLength(int length) {
_checkState();
final rc = bindings.zd_serializer_serialize_sequence_length(
_loanMut().cast(),
length,
);
if (rc != 0) {
throw ZenohException('Failed to serialize sequence length', rc);
}
}