Protobuf - modrpc/info GitHub Wiki

Table of Contents

Overview

Go

How it's done

Sending Message

book := &pb.AddressBook{}
// ...

// marshall book proto.Message into byte[]
out, err := proto.Marshal(book)

// byte[] can be sent or saved to disk etc.
ioutil.WriteFile(fname, out, 0644);

C++

google::protobuf

  • core runtime library

google::protobuf::compiler

  • protoc compiler
⚠️ **GitHub.com Fallback** ⚠️