Versions in this module Expand all Collapse all v0 v0.1.11 Oct 3, 2023 v0.1.10 Oct 2, 2023 Changes in this version + const HeaderBytesLength + const HeaderLengthByteLength + const HeaderTypeBytesLength + const MessageTypeHeader + var ErrInvalidMessageLength = errors.New("invalid message length") + var HeaderMessageDefinition = &message.Definition + func WriteHeader(buf io.Writer, msgType message.Type, msgBytesLength uint16) error + type Header struct + Definition *message.Definition + MessageBytesLength uint16 + func ParseHeader(buf []byte, r *message.Registry) (*Header, error)