codec

package
v1.1.70 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec added in v1.0.1

type Codec interface {
	Entity(message.Dictionary) CodecEntity
}

type CodecEntity added in v1.0.1

type CodecEntity interface {
	fmt.Stringer
	EncodePacket([]*packet.Packet) ([]byte, error)
	DecodePacket(data []byte) ([]*packet.Packet, error)
	EncodeMessage(*message.Message) ([]byte, error)
	DecodeMessage([]byte) (*message.Message, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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