Documentation ¶
Index ¶
Constants ¶
View Source
const ProtoBufVersion = SerialVersion(iota + 1)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProtoBufSerializer ¶
type ProtoBufSerializer struct { }
func (*ProtoBufSerializer) Decode ¶
func (p *ProtoBufSerializer) Decode(rawData []byte) (*packet.PublishMessage, error)
func (*ProtoBufSerializer) Encode ¶
func (p *ProtoBufSerializer) Encode(pub *packet.PublishMessage, buf *bytes.Buffer) error
type SerialVersion ¶
type SerialVersion = byte
Click to show internal directories.
Click to hide internal directories.