Documentation ¶
Index ¶
- Constants
- Variables
- func Copy(dst Writer, src Reader) (written int64, err error)
- func CopyN(dst Writer, src Reader, n int64) (written int64, err error)
- func ReadAll(r Reader) ([]byte, error)
- func ReadFull(r Reader, buf []byte) (n int, err error)
- func WriteString(w Writer, s string) (n int, err error)
- type ByteWriter
- type Closer
- type LimitedReader
- type ReadCloser
- type ReadSeeker
- type ReadWriter
- type Reader
- type ReaderAt
- type SectionReader
- type WriteCloser
- type Writer
- type WriterAt
Constants ¶
View Source
const ( SeekStart = io.SeekStart // seek relative to the origin of the file SeekCurrent = io.SeekCurrent // seek relative to the current offset SeekEnd = io.SeekEnd // seek relative to the end )
Variables ¶
View Source
var EOF = io.EOF
View Source
var ErrNoProgress = io.ErrNoProgress
View Source
var ErrUnexpectedEOF = io.ErrUnexpectedEOF
View Source
var LimitReader = io.LimitReader
Functions ¶
Types ¶
type ByteWriter ¶
type ByteWriter = io.ByteWriter
type LimitedReader ¶
type LimitedReader = io.LimitedReader
type ReadCloser ¶
type ReadCloser = io.ReadCloser
func NopCloser ¶
func NopCloser(r Reader) ReadCloser
type ReadSeeker ¶
type ReadSeeker = io.ReadSeeker
type ReadWriter ¶
type ReadWriter = io.ReadWriter // go vet
type SectionReader ¶
type SectionReader = io.SectionReader
func NewSectionReader ¶
func NewSectionReader(r ReaderAt, off int64, n int64) *SectionReader
type WriteCloser ¶
type WriteCloser = io.WriteCloser
type Writer ¶
func MultiWriter ¶
Click to show internal directories.
Click to hide internal directories.