Documentation ¶
Overview ¶
Enhanced input.
Index ¶
- func ReadAll(f io.Reader) []byte
- func ReadAndClose(f io.ReadCloser, err error) []byte
- type Reader
- type SecReaderT
- func (sr *SecReaderT) Read(b []byte) (n int, err error)
- func (sr *SecReaderT) ReadAt(buf []byte, pos int64) (n int, err error)
- func (sr *SecReaderT) ReadByte() (c byte, err error)
- func (sr *SecReaderT) ReadBytes(delim byte) ([]byte, error)
- func (sr *SecReaderT) Seek(off int64, whence int) (ret int64, err error)
- func (sr *SecReaderT) Size() int64
- func (sr *SecReaderT) Slice(n int) []byte
- func (sr *SecReaderT) UnreadByte() error
- type SliceReaderT
- func (sl *SliceReaderT) Read(b []byte) (n int, err error)
- func (sl *SliceReaderT) ReadAt(b []byte, off int64) (n int, err error)
- func (sl *SliceReaderT) ReadByte() (c byte, err error)
- func (sl *SliceReaderT) ReadBytes(delim byte) ([]byte, error)
- func (sl *SliceReaderT) Seek(off int64, whence int) (ret int64, err error)
- func (sl *SliceReaderT) Size() int64
- func (sl *SliceReaderT) Slice(n int) []byte
- func (sl *SliceReaderT) UnreadByte() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadAndClose ¶
func ReadAndClose(f io.ReadCloser, err error) []byte
Types ¶
type Reader ¶
type Reader interface { ReadAt(buf []byte, pos int64) (n int, err error) Read(b []byte) (n int, err error) Slice(n int) []byte Seek(off int64, whence int) (ret int64, err error) ReadByte() (c byte, err error) UnreadByte() error Size() int64 }
func FileReader ¶
func SliceReader ¶
type SecReaderT ¶
type SecReaderT struct {
// contains filtered or unexported fields
}
func (*SecReaderT) ReadByte ¶
func (sr *SecReaderT) ReadByte() (c byte, err error)
func (*SecReaderT) ReadBytes ¶
func (sr *SecReaderT) ReadBytes(delim byte) ([]byte, error)
grmpf: Next is for AUTOGENERATE! The thing here is only (!) for convenience.
func (*SecReaderT) Size ¶
func (sr *SecReaderT) Size() int64
func (*SecReaderT) Slice ¶
func (sr *SecReaderT) Slice(n int) []byte
func (*SecReaderT) UnreadByte ¶
func (sr *SecReaderT) UnreadByte() error
type SliceReaderT ¶
type SliceReaderT struct {
// contains filtered or unexported fields
}
func (*SliceReaderT) ReadAt ¶
func (sl *SliceReaderT) ReadAt(b []byte, off int64) (n int, err error)
func (*SliceReaderT) ReadByte ¶
func (sl *SliceReaderT) ReadByte() (c byte, err error)
func (*SliceReaderT) ReadBytes ¶
func (sl *SliceReaderT) ReadBytes(delim byte) ([]byte, error)
grmpf: Next is for AUTOGENERATE! The thing here is only (!) for convenience.
func (*SliceReaderT) Seek ¶
func (sl *SliceReaderT) Seek(off int64, whence int) (ret int64, err error)
func (*SliceReaderT) Size ¶
func (sl *SliceReaderT) Size() int64
func (*SliceReaderT) Slice ¶
func (sl *SliceReaderT) Slice(n int) []byte
func (*SliceReaderT) UnreadByte ¶
func (sl *SliceReaderT) UnreadByte() error
Click to show internal directories.
Click to hide internal directories.