armadilloutil

package
v1.0.18-a Latest Latest
Warning

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

Go to latest
Published: Nov 26, 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