# Functions

DecodeArray takes a byte slice and returns a lazily decoded array.
DecodeDocument takes a byte slice and returns a lazily decoded document.
DecodeValue takes some encoded data and decodes it to the target type t.
EncodeArray encodes a into its binary representation.
EncodeDocument takes a document and encodes it using the encoding.Format type.
EncodeValue encodes any value to a binary representation.
NewCodec creates a custom codec.
NewEncoder creates an Encoder that writes in the given writer.

# Structs

A Codec is a custom implementation of an encoding.Codec.
Encoder encodes Genji documents and values in MessagePack.
FieldHeader represents the metadata of a field.
Format is an encoding format used to encode and decode documents.
A Header contains a representation of a document's metadata.

# Type aliases

An EncodedArray implements the document.Array interface on top of an encoded representation of an array.
An EncodedDocument implements the document.Document interface on top of an encoded representation of a document.