bitioex

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyBits

func CopyBits(dst io.Writer, src bitio.Reader) (int64, error)

func CopyBitsBuffer

func CopyBitsBuffer(dst io.Writer, src bitio.Reader, buf []byte) (int64, error)

func Len

func Len(br bitio.ReadAtSeeker) (int64, error)

func Range

func Range(br bitio.ReadAtSeeker, firstBitOffset int64, nBits int64) (bitio.ReaderAtSeeker, error)

Types

type ZeroReadAtSeeker

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

func NewZeroAtSeeker

func NewZeroAtSeeker(nBits int64) *ZeroReadAtSeeker

func (*ZeroReadAtSeeker) CloneReadAtSeeker

func (z *ZeroReadAtSeeker) CloneReadAtSeeker() (bitio.ReadAtSeeker, error)

func (*ZeroReadAtSeeker) ReadBitsAt

func (z *ZeroReadAtSeeker) ReadBitsAt(p []byte, nBits int64, bitOff int64) (n int64, err error)

func (*ZeroReadAtSeeker) SeekBits

func (z *ZeroReadAtSeeker) SeekBits(bitOffset int64, whence int) (int64, error)

Jump to

Keyboard shortcuts

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