serializer

package
v0.0.0-...-0b62a42 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToJSON

func ConvertToJSON(m proto.Message) (string, error)

ConvertToJSON converts protocol buffer message to JSON string

func FromBinary

func FromBinary(m proto.Message, filename string) error

FromBinary reads protocol buffer message from binary file

func ToBinary

func ToBinary(m proto.Message, filename string) error

ToBinary writes protocol buffer message to binary file

func ToJSON

func ToJSON(m proto.Message, filename string) error

ToJSON writes protocol buffer message to binary file

Types

This section is empty.

Jump to

Keyboard shortcuts

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