Versions in this module Expand all Collapse all v0 v0.1.1 Oct 1, 2023 v0.1.0 Sep 29, 2023 Changes in this version + const MaxSize + var GenericDataPayloadType = NewType(payloadtype.GenericData, "GenericDataPayloadType") + type GenericDataPayload struct + func NewGenericDataPayload(data []byte) *GenericDataPayload + func (g *GenericDataPayload) Blob() []byte + func (g *GenericDataPayload) Type() Type + type Payload interface + Bytes func() ([]byte, error) + String func() string + Type func() Type + func FromBytes(data []byte) (payload Payload, consumedBytes int, err error) + type Type uint32 + func NewType(typeNumber uint32, typeName string) (payloadType Type) + func (t Type) Bytes() (bytes []byte) + func (t Type) String() string