Versions in this module Expand all Collapse all v1 v1.0.3 Feb 15, 2024 v1.0.2 Feb 15, 2024 v1.0.1 Feb 15, 2024 Changes in this version + var ErrUnsupportedVersion = errors.New("unsupported subprotocol version") + func Marshal[T proto.Message](msg T, version int32) (*waCommon.SubProtocol, error) + func Unmarshal[T proto.Message](into T, msg *waCommon.SubProtocol, expectedVersion int32) (T, error)