Skip to main content

Module string_bytes_borrowed

Module string_bytes_borrowed 

Source

Functions§

get_bytes_borrowed
Decode BYTES (non-flexible) borrowing from the input buffer. Wire: INT32 length, then length bytes. Length −1 = null (error here).
get_compact_bytes_borrowed
Decode COMPACT_BYTES (flexible) borrowing from the input buffer.
get_compact_nullable_bytes_borrowed
Decode nullable COMPACT_BYTES (flexible) borrowing from the input buffer.
get_compact_nullable_string_borrowed
get_compact_string_borrowed
Decode a COMPACT_STRING borrowing from the input buffer. Requires a contiguous buffer (i.e. &[u8]).
get_nullable_bytes_borrowed
Decode nullable BYTES (non-flexible) borrowing from the input buffer.
get_nullable_string_borrowed
Decode a nullable STRING (non-flexible) borrowing from the input buffer.
get_string_borrowed
Decode a STRING (non-flexible) borrowing from the input buffer. Wire: INT16 length (≥0), then length UTF-8 bytes. Length −1 = null (error here).