# Functions
NewDecoder builds a new idx stream decoder, that reads from r.
NewEncoder returns a new stream encoder that writes to w.
NewMemoryIndex returns an instance of a new MemoryIndex.
# Constants
VersionSupported is the only idx version supported.
# Variables
ErrMalformedIdxFile is returned by Decode when the idx file is corrupted.
ErrUnsupportedVersion is returned by Decode when the idx file version is not supported.
# Structs
Decoder reads and decodes idx files from an input stream.
Encoder writes MemoryIndex structs to an output stream.
Entry is the in memory representation of an object entry in the idx file.
MemoryIndex is the in memory representation of an idx file.
Writer implements a packfile Observer interface and is used to generate indexes.