Documentation ¶
Index ¶
- func Marshal(writer *bufio.Writer, tag reflect.StructTag, v interface{}) (err error)
- func MarshalPrimitive(writer *bufio.Writer, tag reflect.StructTag, v reflect.Value) (err error, ok bool)
- func MarshallTyped(writer *bufio.Writer, val reflect.Value, v interface{}) (err error, ok bool)
- func ReadBool(reader *bufio.Reader) (bool, error)
- func ReadByte(reader *bufio.Reader) (byte, error)
- func ReadFloat32(reader *bufio.Reader) (float32, error)
- func ReadFloat64(reader *bufio.Reader) (float64, error)
- func ReadInt16(reader *bufio.Reader) (int16, error)
- func ReadInt32(reader *bufio.Reader) (int32, error)
- func ReadInt64(reader *bufio.Reader) (int64, error)
- func ReadInt8(reader *bufio.Reader) (int8, error)
- func ReadString(reader *bufio.Reader) (string, error)
- func ReadUInt16(reader *bufio.Reader) (uint16, error)
- func ReadUInt32(reader *bufio.Reader) (uint32, error)
- func ReadUInt64(reader *bufio.Reader) (uint64, error)
- func ReadVarInt32(reader *bufio.Reader) (int32, error)
- func ReadVarInt64(reader *bufio.Reader) (int64, error)
- func Unmarshal(reader *bufio.Reader, tag reflect.StructTag, value reflect.Value) (err error)
- func UnmarshalPrimitive(reader *bufio.Reader, tag reflect.StructTag, value reflect.Value) (err error, ok bool)
- func UnmarshalTyped(reader *bufio.Reader, value reflect.Value) (err error, ok bool)
- func WriteBool(writer *bufio.Writer, v bool) error
- func WriteByte(writer *bufio.Writer, v byte) error
- func WriteByteSlice(writer *bufio.Writer, tag reflect.StructTag, v []byte) error
- func WriteFloat32(writer *bufio.Writer, v float32) error
- func WriteFloat64(writer *bufio.Writer, v float64) error
- func WriteInt16(writer *bufio.Writer, v int16) error
- func WriteInt32(writer *bufio.Writer, v int32) error
- func WriteInt64(writer *bufio.Writer, v int64) error
- func WriteInt8(writer *bufio.Writer, v int8) error
- func WritePacket(writer *bufio.Writer, v reflect.Value, proto Protocol, compressed bool, ...) error
- func WriteString(writer *bufio.Writer, v string) error
- func WriteUInt16(writer *bufio.Writer, v uint16) error
- func WriteUInt32(writer *bufio.Writer, v uint32) error
- func WriteUInt64(writer *bufio.Writer, v uint64) error
- func WriteVarInt32(writer *bufio.Writer, v int32) error
- func WriteVarInt64(writer *bufio.Writer, v int64) error
- type Packet
- type Protocol
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalPrimitive ¶
func MarshallTyped ¶
func UnmarshalPrimitive ¶
func UnmarshalTyped ¶
func WriteByteSlice ¶
func WritePacket ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.