util

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContextReadSeekCloser added in v0.3.1

func NewContextReadSeekCloser(ctx context.Context, r io.ReadSeekCloser) io.ReadSeekCloser

Types

type SectionReadSeeker

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

func NewSectionReadSeeker

func NewSectionReadSeeker(r io.ReadSeeker, off int64, n int64) (*SectionReadSeeker, error)

func (*SectionReadSeeker) Read

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

func (*SectionReadSeeker) Seek

func (r *SectionReadSeeker) Seek(offset int64, whence int) (int64, error)

Jump to

Keyboard shortcuts

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