Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DynamicReadSeeker ¶ added in v1.0.12
DynamicReadSeeker returns a ReadSeeker that reads from r got by getter at an offset. The underlying implementation is a *dynamicReadSeeker.
func LimitReadSeeker ¶ added in v1.0.10
func LimitReadSeeker(r io.ReadSeeker, n int64) io.ReadSeeker
LimitReader returns a Reader that reads from r but stops with EOF after n bytes. The underlying implementation is a *LimitedReader.
Types ¶
type LimitedReadSeeker ¶ added in v1.0.10
type LimitedReadSeeker struct {
// contains filtered or unexported fields
}
A LimitSeekable reads from R but limits the size of the file N bytes. Read returns EOF when N <= 0 or when the underlying R returns EOF.
type Stater ¶ added in v1.0.9
Stater is the interface that wraps the basic Stat method. Stat returns the FileInfo structure describing file.
type WriterFunc ¶
type WriterFuncPrintfLike ¶
type WriterFuncPrintfLike func(format string, args ...interface{})
Click to show internal directories.
Click to hide internal directories.