whatsmeowgo.mau.fi/whatsmeow/proto/armadilloutil Index | Files

package armadilloutil

import "go.mau.fi/whatsmeow/proto/armadilloutil"

Index

Variables

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)

Source Files

decode.go

Version
v0.0.0-20250326122532-6680c9a6e9a7 (latest)
Published
Mar 26, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
5 hours ago

Tools for package owners.