Help us shape the future of Go! Take the 2026 Go Developer Survey

filebuffer

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2018 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