Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloserFunc ¶
type CloserFunc func() error
CloserFunc makes it possible for function types to be used as io.Closer.
type CountReader ¶
CountReader is an io.Reader that counts how many bytes are read by calls to the Read method.
func (*CountReader) Read ¶
func (r *CountReader) Read(b []byte) (n int, err error)
Read satisfies the io.Reader interface.
type CountWriter ¶
CountWriter is an io.Writer that counts how many bytes are written by calls to the Write method.
func (*CountWriter) Write ¶
func (w *CountWriter) Write(b []byte) (n int, err error)
Write satisfies the io.Writer interface.
type ReaderFunc ¶
ReaderFunc makes it possible for function types to be used as io.Reader.
Source Files
¶
- io.go
Click to show internal directories.
Click to hide internal directories.