Commit 94f3d8cf authored by Robert Griesemer's avatar Robert Griesemer

encoding/binary: slightly better documentation

Fixes #7306.

LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/153820044
parent dba2faf2
...@@ -10,9 +10,10 @@ ...@@ -10,9 +10,10 @@
// type (int8, uint8, int16, float32, complex64, ...) // type (int8, uint8, int16, float32, complex64, ...)
// or an array or struct containing only fixed-size values. // or an array or struct containing only fixed-size values.
// //
// Varints are a method of encoding integers using one or more bytes; // The varint functions encode and decode single integer values using
// numbers with smaller absolute value take a smaller number of bytes. // a variable-length encoding; smaller values require fewer bytes.
// For a specification, see http://code.google.com/apis/protocolbuffers/docs/encoding.html. // For a specification, see
// http://code.google.com/apis/protocolbuffers/docs/encoding.html.
// //
// This package favors simplicity over efficiency. Clients that require // This package favors simplicity over efficiency. Clients that require
// high-performance serialization, especially for large data structures, // high-performance serialization, especially for large data structures,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment