Create a writer with an optional initial buffer capacity.
Return the written bytes without unused buffer capacity.
Write a boolean as XDR int32 value 0 or 1.
Write fixed-length opaque bytes and add XDR zero padding to a 4-byte boundary.
Write a signed 128-bit integer as high signed 64 bits followed by low unsigned 64 bits.
Write a signed 32-bit integer in big-endian XDR form.
Write a signed 64-bit integer in big-endian XDR form.
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 in big-endian XDR form.
Write an unsigned 64-bit integer in big-endian XDR form.
Write length-prefixed opaque bytes, bounded by max, with XDR padding.
Writes standard XDR bytes as defined by RFC 4506.