Documentation ¶
Index ¶
- func Marshal(v interface{}) []byte
- func ReadBool(buf *bytes.Buffer) bool
- func ReadFloat32(buf *bytes.Buffer) float32
- func ReadFloat64(buf *bytes.Buffer) float64
- func ReadInt16(buf *bytes.Buffer) int16
- func ReadInt32(buf *bytes.Buffer) int32
- func ReadInt64(buf *bytes.Buffer) int64
- func ReadInt8(buf *bytes.Buffer) int8
- func ReadString(buf *bytes.Buffer) string
- func ReadUint16(buf *bytes.Buffer) uint16
- func ReadUint32(buf *bytes.Buffer) uint32
- func ReadUint64(buf *bytes.Buffer) uint64
- func ReadUint8(buf *bytes.Buffer) uint8
- func ReadVarInt32(buf *bytes.Buffer) int32
- func ReadVarInt64(buf *bytes.Buffer) int64
- func Unmarshal(data []byte, val reflect.Value) error
- func WriteBool(v bool) []byte
- func WriteFloat32(v float32) []byte
- func WriteFloat64(v float64) []byte
- func WriteInt16(v int16) []byte
- func WriteInt32(v int32) []byte
- func WriteInt64(v int64) []byte
- func WriteInt8(v int8) []byte
- func WriteString(v string) []byte
- func WriteUint16(v uint16) []byte
- func WriteUint32(v uint32) []byte
- func WriteUint64(v uint64) []byte
- func WriteUint8(v uint8) []byte
- func WriteVarInt32(v int32) []byte
- func WriteVarInt64(v int64) []byte
- type Marshaler
- type Unmarshaler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFloat32 ¶
func ReadFloat64 ¶
func ReadString ¶
func ReadUint16 ¶
func ReadUint32 ¶
func ReadUint64 ¶
func ReadVarInt32 ¶
func ReadVarInt64 ¶
func WriteFloat32 ¶
func WriteFloat64 ¶
func WriteInt16 ¶
func WriteInt32 ¶
func WriteInt64 ¶
func WriteString ¶
func WriteUint16 ¶
func WriteUint32 ¶
func WriteUint64 ¶
func WriteUint8 ¶
func WriteVarInt32 ¶
func WriteVarInt64 ¶
Types ¶
type Unmarshaler ¶
Click to show internal directories.
Click to hide internal directories.