Create a writer with an optional initial buffer capacity.
Return the written bytes without unused buffer capacity.
Write a boolean as CXS int32 value 0 or 1.
Write fixed-length opaque bytes without padding.
Write a signed 128-bit integer as high signed 64 bits followed by low unsigned 64 bits.
Write a signed 32-bit integer using CXS variable-length encoding.
Write a signed 64-bit integer using CXS variable-length encoding.
UTF-8 encode and write a length-prefixed string bounded by max bytes.
Write an unsigned 128-bit integer as two unsigned 64-bit words.
Write an unsigned 32-bit integer using CXS variable-length encoding.
Write an unsigned 64-bit integer using CXS variable-length encoding.
Write length-prefixed opaque bytes, bounded by max, without padding.
Writes compact XDR serialization (CXS) bytes.