pb

package
v0.0.0-...-c14ccba Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(msg proto.Message, in Reader) error

Decode decodes `in` as a serialized message.

func Encode

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

Encode encodes `msg`

Types

type Reader

type Reader interface {
	io.ByteReader
	io.Reader
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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