Crate enc Copy item path Source Expand description § Data Encoding Features
data — Provides data encoding traits & utilities.
base-64 — Provides base-64 encoding.
hex — Provides hexadecimal encoding.
percent — Provides URL percent encoding.
full-data — Includes all the data encoding features.
§ Value Encoding Features
value — Provides value encoding traits & utilities.
var-int — Provides variable-length integer encoding.
full-value — Includes all the value encoding features.
§ Full
full — Includes all the data & value encoding features.
§ Dev Features
test — Provides utilities for testing encoding implementations.
base_64 hex percent test var_int impl_decode_from_read_by_prefix Implements the DecodeFromRead trait for the target_type by delegating to the
DecodeFromReadPrefix::decode_from_read_prefix_with_first_byte fn. impl_decode_from_read_prefix_length_prefixed Proxies the implementation of the DecodeFromReadPrefix trait for the target_type by using
the DecodeFromRead::decode_from_read_length_prefixed_with_first_byte function. impl_encode_to_write_stack_buf Implements the EncodeToWrite trait for the target_type. Error An error processing encoded data. DecodeFromRead A value that can decode itself from a Read. DecodeFromReadPrefix A value that can decode itself from a Read prefix. Decoder Responsible for decoding binary data. EncodeToSlice A value that can encode itself to a slice. EncodeToWrite A value that can encode itself to a Write. EncodedLen A value with an encoded length. Encoder Responsible for encoding binary data. StringEncoder Responsible for encoding binary data as UTF-8 encoded text. Validator Responsible for validating encoded data. read_optional_byte Reads an optional byte from the Read. read_single_byte Reads a single byte from the Read.