Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileBuffer ¶
type FileBuffer interface { buffer.Buffer Name() string Stat() (fi os.FileInfo, err error) Close() error }
FileBuffer is a thin wrapper around buffer.Buffer. It exposes a Close method to close the underline file.
func NewFileBuffer ¶
func NewFileBuffer(N int64, file buffer.File) FileBuffer
NewFileBuffer returns a FileBuffer.
Click to show internal directories.
Click to hide internal directories.