Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoolEncoder ¶
type BoolEncoder interface {
// Encode encodes a collection of bools and writes the encoded bytes to the writer.
Encode(boolVals values.BoolValues, writer io.Writer) error
}
BoolEncoder encodes bool values.
type BytesEncoder ¶
type BytesEncoder interface {
// Encode encodes a collection of bytes and writes the encoded bytes to the writer.
Encode(strVals values.BytesValues, writer io.Writer) error
}
BytesEncoder encodes bytes values.
func NewBytesEncoder ¶
func NewBytesEncoder() BytesEncoder
NewBytesEncoder creates a new bytes encoder.
type DoubleEncoder ¶
type DoubleEncoder interface {
// Encode encodes a collection of doubles and writes the encoded bytes to the writer.
Encode(doubleVals values.DoubleValues, writer io.Writer) error
}
DoubleEncoder encodes double values.
func NewDoubleEncoder ¶
func NewDoubleEncoder() DoubleEncoder
NewDoubleEncoder creates a new double encoder.
type EncodeTimeOptions ¶
EncodeTimeOptions informs time encoding operation.
type IntEncoder ¶
type IntEncoder interface {
// Encode encodes a collection of ints and writes the encoded bytes to the writer.
Encode(intVals values.IntValues, writer io.Writer) error
}
IntEncoder encodes int values.
type TimeEncoder ¶
type TimeEncoder interface {
// Encode encodes a collection of time values and writes the encoded bytes to the writer.
Encode(timeVals values.TimeValues, writer io.Writer, opts EncodeTimeOptions) error
}
TimeEncoder encodes times values.
Click to show internal directories.
Click to hide internal directories.