armadilloutil

package
v0.0.0-...-bd87e3a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnsupportedVersion = errors.New("unsupported subprotocol version")

Functions

func Marshal

func Marshal[T proto.Message](msg T, version int32) (*waCommon.SubProtocol, error)

func Unmarshal

func Unmarshal[T proto.Message](into T, msg *waCommon.SubProtocol, expectedVersion int32) (T, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL