Encoder

The Encoder is a function which processes an object into a table of bytes.

The lifespan of an Encoder is undefined. It is advised to refrain from specifying class fields.

An Encoder must be: