package
Version:
v0.0.0-...-add2d34
Opens a new window with list of versions in this module.
Published: Nov 14, 2018
License: GPL-3.0, MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
ReadBytes reads a single byte from the given io.Reader.
ReadFrom reads a varint encoded from the given io.Reader.
On success, the function returns the varint as a int64, the number of bytes
consumed, and nil.
WriteTo writes the given value to the given io.Writer as a varint encoded
byte array.
On success, the function returns the number of bytes written to the writer,
and nil.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.