Documentation ¶
Overview ¶
Package filebuf implements io.SeekReader for os files. This is useful only for very large files with lots of seeking. (otherwise use ioutil.ReadFile or bufio)
Index ¶
Constants ¶
View Source
const Buflen = 1 << 20
Buflen is the size of the internal buffer. The code is designed to never need to reread unnecessarily
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buf ¶
Buf is the implemented interface
func FromReader ¶
FromReader creates a Buf by copying the contents of an io.Reader
Click to show internal directories.
Click to hide internal directories.