Skip to main content

Module base64_bytes

Module base64_bytes 

Source
Expand description

JSON transport spelling for opaque byte payloads: one canonical padded standard base64 string. The bytes themselves are what callers hash, sign and store.

Modules§

option
The same spelling for an optional payload, with null for None.

Functions§

bounded
Refuses a string that would decode to more than N bytes before decoding it.
deserialize
encoded_len
Serialized length of n bytes, excluding the JSON quotes.
serialize