toreader

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

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

func NewReader

func NewReader(r io.ReaderAt, start int64) *Reader

func (Reader) Offset

func (r Reader) Offset() int64

func (*Reader) Read

func (r *Reader) Read(p []byte) (n int, err error)

type ReaderAt

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

func NewReaderAt

func NewReaderAt(r io.Reader) (ra ReaderAt, err error)

func (ReaderAt) ReadAt

func (r ReaderAt) ReadAt(p []byte, off int64) (n int, err error)

Jump to

Keyboard shortcuts

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