package
Version:
v1.8.7
Opens a new window with list of versions in this module.
Published: Jan 15, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package limitwriter provides a writer that only allows a certain number of bytes to be
written.
View Source
var ErrMaximumWrite = errors.New("maximum write")
ErrMaximumWrite is returned when all bytes have been written.
New creates a writer that is limited to writing at most n bytes to w. This writer is not
thread safe.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.