Documentation
¶
Index ¶
- func ExtractHeadMsg(buf []byte) (head string, body []byte, err error)
- func PackHeadMsg(w io.Writer, head string, body []byte) (n int, err error)
- func WriteMsgPackBin(w io.Writer, s []byte) (int, error)
- func WriteMsgPackLen(w io.Writer, typ byte, l uint, byteN int) (int, error)
- func WriteMsgPackStr(w io.Writer, s string) (int, error)
- type MsgPackDecode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MsgPackDecode ¶
type MsgPackDecode struct { AssertType byte // contains filtered or unexported fields }
msgpack解码
未完整支持
func NewMsgPackDecode ¶
func NewMsgPackDecode() *MsgPackDecode
func (*MsgPackDecode) Bytes ¶
func (this *MsgPackDecode) Bytes() []byte
func (*MsgPackDecode) InputByte ¶
func (this *MsgPackDecode) InputByte(v byte) int8
func (*MsgPackDecode) Reset ¶
func (this *MsgPackDecode) Reset()
Click to show internal directories.
Click to hide internal directories.