Documentation
¶
Index ¶
- Variables
- func ReadBool(bs []byte) (bool, int, error)
- func ReadFloat32(bs []byte) (float32, int, error)
- func ReadFloat64(bs []byte) (float64, int, error)
- func ReadInt(bs []byte) (int, int, error)
- func ReadInt16(bs []byte) (int16, int, error)
- func ReadInt32(bs []byte) (int32, int, error)
- func ReadInt64(bs []byte) (int64, int, error)
- func ReadInt8(bs []byte) (int8, int, error)
- func ReadString(bs []byte) (string, int, error)
- func ReadUint(bs []byte) (uint, int, error)
- func ReadUint16(bs []byte) (uint16, int, error)
- func ReadUint32(bs []byte) (uint32, int, error)
- func ReadUint64(bs []byte) (uint64, int, error)
- func ReadUint8(bs []byte) (uint8, int, error)
- func ReadVarInt16(bs []byte) (int16, int, error)
- func ReadVarInt32(bs []byte) (int32, int, error)
- func ReadVarInt64(bs []byte) (int64, int, error)
- func ReadVarUint16(bs []byte) (uint16, int, error)
- func ReadVarUint32(bs []byte) (uint32, int, error)
- func ReadVarUint64(bs []byte) (uint64, int, error)
- func WriteBool(bs []byte, v bool) []byte
- func WriteFloat32(bs []byte, v float32) []byte
- func WriteFloat64(bs []byte, v float64) []byte
- func WriteInt(bs []byte, v int) []byte
- func WriteInt16(bs []byte, v int16) []byte
- func WriteInt32(bs []byte, v int32) []byte
- func WriteInt64(bs []byte, v int64) []byte
- func WriteInt8(bs []byte, v int8) []byte
- func WriteString(bs []byte, v string) []byte
- func WriteUint(bs []byte, v uint) []byte
- func WriteUint16(bs []byte, v uint16) []byte
- func WriteUint32(bs []byte, v uint32) []byte
- func WriteUint64(bs []byte, v uint64) []byte
- func WriteUint8(bs []byte, v uint8) []byte
- func WriteVarInt16(bs []byte, v int16) []byte
- func WriteVarInt32(bs []byte, v int32) []byte
- func WriteVarInt64(bs []byte, v int64) []byte
- func WriteVarUint16(bs []byte, v uint16) []byte
- func WriteVarUint32(bs []byte, v uint32) []byte
- func WriteVarUint64(bs []byte, v uint64) []byte
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTruncatedData = errors.New("cod: unmarshal encountered truncated data")
View Source
var ErrUnknownUnionType = errors.New("cod: unknown type in union")
Functions ¶
func WriteFloat64 ¶
func WriteInt16 ¶
func WriteInt32 ¶
func WriteInt64 ¶
func WriteString ¶
func WriteUint16 ¶
func WriteUint32 ¶
func WriteUint64 ¶
func WriteUint8 ¶
-------------------------------------------------------------------------------- Read/Append - Fixed Width -------------------------------------------------------------------------------- Unsigned Integers
func WriteVarInt32 ¶
func WriteVarInt64 ¶
func WriteVarUint16 ¶
-------------------------------------------------------------------------------- Read/Append - Variable Width -------------------------------------------------------------------------------- Unsigned Integers
func WriteVarUint32 ¶
func WriteVarUint64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.