Versions in this module Expand all Collapse all v1 v1.0.1 Jul 6, 2023 v1.0.0 Jul 6, 2023 Changes in this version + const MaxMessageLength + type ASCII4BytesHeader struct + Len int + func NewASCII4BytesHeader() *ASCII4BytesHeader + func (h *ASCII4BytesHeader) Length() int + func (h *ASCII4BytesHeader) ReadFrom(r io.Reader) (int, error) + func (h *ASCII4BytesHeader) SetLength(length int) + func (h *ASCII4BytesHeader) WriteTo(w io.Writer) (int, error) + type BCD2BytesHeader struct + Len int + func NewBCD2BytesHeader() *BCD2BytesHeader + func (h *BCD2BytesHeader) Length() int + func (h *BCD2BytesHeader) ReadFrom(r io.Reader) (int, error) + func (h *BCD2BytesHeader) SetLength(length int) + func (h *BCD2BytesHeader) WriteTo(w io.Writer) (int, error) + type Binary2Bytes struct + Len uint16 + func NewBinary2BytesHeader() *Binary2Bytes + func (h *Binary2Bytes) Length() int + func (h *Binary2Bytes) ReadFrom(r io.Reader) (int, error) + func (h *Binary2Bytes) SetLength(length int) error + func (h *Binary2Bytes) WriteTo(w io.Writer) (int, error) + type Header interface + Length func() int + ReadFrom func(r io.Reader) (int, error) + SetLength func(length int) + WriteTo func(w io.Writer) (int, error) + type VMLH struct + IsSessionControl bool + Len uint16 + func NewVMLHeader() *VMLH + func (h *VMLH) Length() int + func (h *VMLH) ReadFrom(r io.Reader) (int, error) + func (h *VMLH) SetLength(length int) error + func (h *VMLH) WriteTo(w io.Writer) (int, error)