header

package
v0.0.0-...-e3369bb Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageHeader

type MessageHeader struct {
	PMap       *presencemap.PresenceMap
	TemplateID uint32
}

MessageHeader represents the beginning of every fast message. It contains the presence map for the message and the template id to use when decoding the message.

func New

func New(message *bytes.Buffer, dict *dictionary.Dictionary, logger *log.Logger) (MessageHeader, error)

New MessageHeader read from the byte buffer

Jump to

Keyboard shortcuts

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