Documentation ¶
Index ¶
- func AppendBytes(origin []byte, data []byte) []byte
- func GetState(state uint, key uint) bool
- func ReadBool(r io.Reader, order binary.ByteOrder) (data bool, err error)
- func ReadBytes(r io.Reader, order binary.ByteOrder) (data []byte, err error)
- func ReadBytesLength(r io.Reader, order binary.ByteOrder, length int16) (data []byte, err error)
- func ReadFloat32(r io.Reader, order binary.ByteOrder) (data float32, err error)
- func ReadFloat64(r io.Reader, order binary.ByteOrder) (data float64, err error)
- func ReadInt16(r io.Reader, order binary.ByteOrder) (data int16, err error)
- func ReadInt32(r io.Reader, order binary.ByteOrder) (data int32, err error)
- func ReadInt64(r io.Reader, order binary.ByteOrder) (data int64, err error)
- func ReadInt8(r io.Reader, order binary.ByteOrder) (data int8, err error)
- func ReadUTF(r io.Reader, order binary.ByteOrder) (data string, err error)
- func ReadUint16(r io.Reader, order binary.ByteOrder) (data uint16, err error)
- func ReadUint32(r io.Reader, order binary.ByteOrder) (data uint32, err error)
- func ReadUint64(r io.Reader, order binary.ByteOrder) (data uint64, err error)
- func ReadUint8(r io.Reader, order binary.ByteOrder) (data uint8, err error)
- func SetState(state uint, key uint, value bool) uint
- func StringToBytes(s string) []byte
- func WriteBool(w io.Writer, order binary.ByteOrder, val bool) error
- func WriteBytes(w io.Writer, order binary.ByteOrder, data []byte) (err error)
- func WriteBytesLength(w io.Writer, order binary.ByteOrder, data []byte) (err error)
- func WriteFloat32(w io.Writer, order binary.ByteOrder, val float32) error
- func WriteFloat64(w io.Writer, order binary.ByteOrder, val float64) error
- func WriteInt16(w io.Writer, order binary.ByteOrder, val int16) error
- func WriteInt32(w io.Writer, order binary.ByteOrder, val int32) error
- func WriteInt64(w io.Writer, order binary.ByteOrder, val int64) error
- func WriteInt8(w io.Writer, order binary.ByteOrder, val int8) error
- func WriteUTF(w io.Writer, order binary.ByteOrder, data string) (err error)
- func WriteUint16(w io.Writer, order binary.ByteOrder, val uint16) error
- func WriteUint32(w io.Writer, order binary.ByteOrder, val uint32) error
- func WriteUint64(w io.Writer, order binary.ByteOrder, val uint64) error
- func WriteUint8(w io.Writer, order binary.ByteOrder, val uint8) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendBytes ¶
func ReadBytesLength ¶
func StringToBytes ¶
func WriteBytesLength ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.