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-20250411192951-5ab78fadbf91 (latest)
Published
Apr 11, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
4 days ago

Tools for package owners.