Documentation
¶
Index ¶
- func GetEnd() byte
- type Codec
- func (codec *Codec) Decoder(buf []byte)
- func (codec *Codec) Encoder(buf []byte, mold interface{}) []byte
- func (codec *Codec) IsDecoder(buf []byte) bool
- func (codec *Codec) Marshal(T interface{}) ([]byte, error)
- func (codec *Codec) Read(mold interface{}) (interface{}, error)
- func (codec *Codec) Refresh(w io.Writer) (int, error)
- func (codec *Codec) Unmarshal(data []byte, mold interface{}) error
- func (codec *Codec) Write(w io.Writer, T interface{}, mold interface{}) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Codec ¶
type Codec struct {
Key string
Value []byte
Sbuf []byte
Observe string
Result [][]byte
OriginResult [][]byte
}
Click to show internal directories.
Click to hide internal directories.