# Functions
DecodeFromTransfer uses ParseEncodedValue to find the right encoder then decodes value with it.
EncodeForTransfer uses a UTF-8 transfer-safe encoding to encode value.
EncodeJSON returns a JSON transfer-safe encoding of value.
ParseEncodedValue will attempt to split on : and extract an encoding identifer from the prefix of the string.
# Constants
No description provided by the author
DefaultEncodingType is the default encodingType.
No description provided by the author
# Variables
Encoders maps encoding algorithms to their respective EncodeDecoder types.
No description provided by the author
No description provided by the author
# Structs
Base64Encoding handles the encoding and decoding of values using base64.
JSON is a convenient way to represent an encoding and data tuple in JSON.
JSONInterface allows arbitrary embedding of encoded data within any JSON type.
JSONOrStr is like the JSON type, but also allows NoEncodingType to be represented as a raw JSON string.
NoEncoding just returns the values without encoding them.
# Interfaces
Decoder takes a string and decodes it, returning a byte slice or an error.
EncodeDecoder groups Encoder and Decoder to form a type that can both encode and decode values.
Encoder encodes a byte slice and returns a string with the encoding type prefixed.
# Type aliases
EncodeDecoderFactories defines the type that can be used to produce encoder/decoders.
EncodeDecoderFactoryFunc is a function that produces an encoder/decoder.
No description provided by the author