Specifies the expected API interface for an encoding tool, which is capable of encoding data to a given format or expression, as well as decoding from that same format.
Decode the provided data, returning the raw resulting bytes.
Decode the provided string, returning the raw resulting bytes.
Decode the provided data, returning a decoded string.
Decode the provided string, returning a decoded string.
Encode the provided data, returning the raw resulting bytes.
Encode the provided string, returning the raw resulting bytes.
Encode the provided data, returning an encoded string.
Encode the provided string, returning an encoded string.
Return the enumerated Encoding which is implemented by this Encoder.