serializer

package
v0.0.0-...-8f841ec Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProtobufToJSON

func ProtobufToJSON(message proto.Message) (string, error)

func ReadBinaryFileToProtobuf

func ReadBinaryFileToProtobuf(filename string, message proto.Message) error

func ReadProtobufFromJSONFile

func ReadProtobufFromJSONFile(message proto.Message, filename string) error

func WriteProtobufToBinaryFile

func WriteProtobufToBinaryFile(message proto.Message, filename string) error

WriteProtobufToBinaryFile writes protobuf message to binary file

func WriteProtobufToJSONFile

func WriteProtobufToJSONFile(message proto.Message, filename string) error

WriteJsonToBinaryFile writes JSON 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
JackTT - Gopher 🇻🇳