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
Click to show internal directories.
Click to hide internal directories.