filebuffer

package
v0.0.0-...-1806480 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL