Documentation ¶
Index ¶
- Constants
- func ReadByte(reader io.Reader) (byte, error)
- func ReadString(reader io.Reader) (string, error)
- func ReadUTF16BEString(reader io.Reader, symbolLen uint16) (string, error)
- func ReadUnsignedInt(reader io.Reader) (uint32, error)
- func ReadUnsignedShort(reader io.Reader) (uint16, error)
- func ReadVarInt(reader io.Reader) (int, error)
- type ByteReader
- type Frame
- type Handshake
- type LegacyServerListPing
- type Packet
- type State
Constants ¶
View Source
const ( PacketIdHandshake = 0x00 PacketIdLegacyServerListPing = 0xFE )
View Source
const (
StateHandshaking = iota
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ByteReader ¶
type Handshake ¶
func ReadHandshake ¶
type LegacyServerListPing ¶
Click to show internal directories.
Click to hide internal directories.