Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Error = errs.Class("incenc")
Error wraps all of the returned errors.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader decodes incremental encoded things.
func NewReaderWith ¶
NewReaderWith constructs a reader using the provided scratch space.
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
Writer encodes incremental encoding things.
func (*Writer) Append ¶
Append appends the value to the buf using the last value as state for reducing the amount of data needed to be written.
func (*Writer) AppendBytes ¶
AppendBytes is like Append except the value is a []byte instead of a string.