Documentation ¶
Index ¶
- func GobGeneralDecoder() func([]byte, interface{})
- func JsonGeneralDecoder() func([]byte, interface{})
- func JsonGeneralEncoder() func(interface{}) ([]byte, error)
- func NewGobDecodeOp(decFn func([]byte, func([]byte, interface{})) stream.Object) stream.InOutOperator
- func NewGobEncodeOp() stream.InOutOperator
- func NewJsonDecodeOp(decFn func([]byte, func([]byte, interface{})) stream.Object) stream.InOutOperator
- func NewJsonEncodeOp() stream.Operator
- func NewProtobufDecodeOp(decFn func([]byte, func([]byte, proto.Message)) stream.Object) stream.InOutOperator
- func NewProtobufEncodeOp() stream.Operator
- func ProtobufGeneralDecoder() func([]byte, proto.Message)
- type ByteReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GobGeneralDecoder ¶
func GobGeneralDecoder() func([]byte, interface{})
func JsonGeneralDecoder ¶
func JsonGeneralDecoder() func([]byte, interface{})
func JsonGeneralEncoder ¶
func NewGobDecodeOp ¶
func NewGobEncodeOp ¶
func NewGobEncodeOp() stream.InOutOperator
func NewJsonDecodeOp ¶
func NewJsonEncodeOp ¶
func NewProtobufDecodeOp ¶
func NewProtobufEncodeOp ¶
func ProtobufGeneralDecoder ¶
Types ¶
type ByteReader ¶
type ByteReader struct {
// contains filtered or unexported fields
}
stolen from bytes.Reader. Slightly changed to allow us to reuse gob.Decoder on same object
Click to show internal directories.
Click to hide internal directories.