ioutil

package module
v0.0.0-...-06e58e3 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2015 License: MIT Imports: 2 Imported by: 3

README

ioutil

Additional IO stuff like io/ioutil

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiReadSeeker

type MultiReadSeeker struct {
	// contains filtered or unexported fields
}

func NewMultiReadSeeker

func NewMultiReadSeeker(readSeekers ...io.ReadSeeker) *MultiReadSeeker

func (*MultiReadSeeker) Close

func (this *MultiReadSeeker) Close() error

func (*MultiReadSeeker) Read

func (this *MultiReadSeeker) Read(p []byte) (int, error)

func (*MultiReadSeeker) Seek

func (this *MultiReadSeeker) Seek(offset int64, whence int) (ret int64, err error)

func (*MultiReadSeeker) Size

func (this *MultiReadSeeker) Size() (int64, error)

type SectionReader

type SectionReader struct {
	// contains filtered or unexported fields
}

func NewSectionReader

func NewSectionReader(src io.ReadSeeker, offset, length int64) *SectionReader

func (*SectionReader) Length

func (this *SectionReader) Length() int64

func (*SectionReader) Offset

func (this *SectionReader) Offset() int64

func (*SectionReader) Read

func (this *SectionReader) Read(p []byte) (n int, err error)

func (*SectionReader) Seek

func (this *SectionReader) Seek(offset int64, whence int) (n int64, err error)

func (*SectionReader) String

func (this *SectionReader) String() string

Jump to

Keyboard shortcuts

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