proto

package
v2.6.0-dev1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone

func Clone(m proto.Message) proto.Message

func Decode

func Decode(v []byte, m proto.Message) error

Decode decodes a gob-encoded value v.

func Encode

func Encode(m proto.Message) ([]byte, error)

Encode encodes e by using gob and returns.

func Equal

func Equal(m1, m2 proto.Message) bool

func Size

func Size(m proto.Message) int

Types

type Message

type Message = proto.Message

Jump to

Keyboard shortcuts

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