data

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FragReaderConstructor

type FragReaderConstructor func() (io.Reader, error)

type FullReader

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

func NewFullReader

func NewFullReader(r io.ReaderAt, initialOffset int64, d decompress.Decompressor, sizes []uint32, finalBlockSize uint64, blockSize uint32) *FullReader

func (*FullReader) AddFrag

func (r *FullReader) AddFrag(frag FragReaderConstructor)

func (*FullReader) SetGoroutineLimit

func (r *FullReader) SetGoroutineLimit(limit uint16)

func (*FullReader) WriteTo

func (r *FullReader) WriteTo(w io.Writer) (int64, error)

type Reader

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

func NewReader

func NewReader(r io.Reader, d decompress.Decompressor, sizes []uint32, finalBlockSize uint64, blockSize uint32) *Reader

func (*Reader) AddFrag

func (r *Reader) AddFrag(fragRdr io.Reader)

func (*Reader) Close

func (r *Reader) Close() error

func (*Reader) Read

func (r *Reader) Read(b []byte) (int, error)

Jump to

Keyboard shortcuts

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