serializer

package
v0.0.0-...-edd4e79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2023 License: MIT Imports: 6 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL