Versions in this module Expand all Collapse all v2 v2.0.12 Sep 18, 2021 v2.0.11 Sep 18, 2021 Changes in this version + const HeaderSize + const MaxSequenceNumber + func UnpackDatagram(buf []byte) ([][]byte, error) + type Header struct + ContentLen uint16 + ContentType protocol.ContentType + Epoch uint16 + SequenceNumber uint64 + Version protocol.Version + func (h *Header) Marshal() ([]byte, error) + func (h *Header) Unmarshal(data []byte) error + type RecordLayer struct + Content protocol.Content + Header Header + func (r *RecordLayer) Marshal() ([]byte, error) + func (r *RecordLayer) Unmarshal(data []byte) error