Documentation ¶
Index ¶
- func IsReaderSeekable(r io.Reader) bool
- type ReadSeekerNopClose
- func (r ReadSeekerNopClose) Close() error
- func (r ReadSeekerNopClose) GetLen() (int64, error)
- func (r ReadSeekerNopClose) HasLen() (int, bool)
- func (r ReadSeekerNopClose) IsSeeker() bool
- func (r ReadSeekerNopClose) Read(p []byte) (int, error)
- func (r ReadSeekerNopClose) Seek(offset int64, whence int) (int64, error)
- type RepeatableReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsReaderSeekable ¶
Types ¶
type ReadSeekerNopClose ¶
type ReadSeekerNopClose struct {
// contains filtered or unexported fields
}
func ReadSeekNopCloser ¶
func ReadSeekNopCloser(r io.Reader) ReadSeekerNopClose
func (ReadSeekerNopClose) Close ¶
func (r ReadSeekerNopClose) Close() error
func (ReadSeekerNopClose) GetLen ¶
func (r ReadSeekerNopClose) GetLen() (int64, error)
func (ReadSeekerNopClose) HasLen ¶
func (r ReadSeekerNopClose) HasLen() (int, bool)
func (ReadSeekerNopClose) IsSeeker ¶
func (r ReadSeekerNopClose) IsSeeker() bool
type RepeatableReader ¶
type RepeatableReader struct {
// contains filtered or unexported fields
}
func NewRepeatableLimitReader ¶
func NewRepeatableLimitReader(r io.Reader, size int) *RepeatableReader
func NewRepeatableReader ¶
func NewRepeatableReader(r io.Reader) *RepeatableReader
func NewRepeatableReaderBuffer ¶
func NewRepeatableReaderBuffer(r io.Reader, buf []byte) *RepeatableReader
func NewRepeatableReaderSized ¶
func NewRepeatableReaderSized(r io.Reader, size int) *RepeatableReader
Click to show internal directories.
Click to hide internal directories.