msgpack

package
v1.2.24051 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteMsgPackBin

func WriteMsgPackBin(w io.Writer, s []byte) (int, error)

func WriteMsgPackLen

func WriteMsgPackLen(w io.Writer, typ byte, l uint, byteN int) (int, error)

func WriteMsgPackStr

func WriteMsgPackStr(w io.Writer, s string) (int, error)

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL