Versions in this module Expand all Collapse all v0 v0.5.10 Aug 9, 2023 v0.5.9 Aug 4, 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) (*Header, error)