Documentation ¶
Overview ¶
Package protoio contains I/O functions for protocol buffers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadMessage ¶
ReadMessage reads a protocol buffer message from fname, and unmarshalls it into pb.
func ReadTextMessage ¶
ReadTextMessage reads a text format protocol buffer message from fname, and unmarshalls it into pb.
func WriteMessage ¶
WriteMessage marshals pb and atomically writes it into fname.
Types ¶
Click to show internal directories.
Click to hide internal directories.