s2.util.coding.coder

Undocumented in source.

Members

Classes

Decoder
class Decoder(IRangeT)
Undocumented in source.
Encoder
class Encoder(ORangeT)

Class for encoding data into a memory buffer

Functions

makeDecoder
auto makeDecoder(IRangeT r)

Constructs a new Decoder with the given input range as the buffer to read from.

makeDecoder
auto makeDecoder(IRangeT r, size_t maxn)

Constructs a new Decoder with the given input range and limit of byte to be read.

makeEncoder
auto makeEncoder()

Constructs a new Encoder using an Appender!(ubyte[]) as the buffer.

makeEncoder
auto makeEncoder(ORangeT r)

Constructs a new Encoder with a given output range as the buffer.

toNativeBytes
auto toNativeBytes(T t)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta