Skip to main content

Module buffer

Module buffer 

Source
Expand description

no_std fixed-buffer writing helpers for provider crates.

Functionsยง

write_byte
Writes one byte into a caller-owned buffer.
write_json_string
Writes a complete JSON string with surrounding quotes.
write_json_string_escaped
Writes JSON-string contents with required escaping, without surrounding quotes.
write_percent_encoded
Writes a percent-encoded query component into a caller-owned buffer.
write_query_pair
Writes a percent-encoded query key/value pair.
write_query_separator
Writes & unless this is the first query pair.
write_query_u64
Writes a percent-encoded query key and base-10 integer value.
write_str
Writes a string into a caller-owned buffer without escaping.
write_u64
Writes a base-10 unsigned integer into a caller-owned buffer.