package
module
Version:
v0.0.0-...-ac7e091
Opens a new window with list of versions in this module.
Published: Dec 7, 2015
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
prefixedio
Size-prefixed I/O in Go
Documentation
¶
MaxLen is the maximum length allowed
WriteBytes writes the size of the bytes passed, then the bytes
Buffer is a size-prefixed buffer
Bytes returns the bytes from the buffer
ReadFrom reads the size prefix (s) from rd, then overwrites the buffer with s bytes from rd
Source Files
¶
Click to show internal directories.
Click to hide internal directories.