bits

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 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 GolombBitReader

type GolombBitReader struct {
	R io.Reader
	// contains filtered or unexported fields
}

GolombBitReader type

func (*GolombBitReader) ReadBit

func (inst *GolombBitReader) ReadBit() (res uint, err error)

ReadBit func

func (*GolombBitReader) ReadBits

func (inst *GolombBitReader) ReadBits(n int) (res uint, err error)

ReadBits func

func (*GolombBitReader) ReadExponentialGolombCode

func (inst *GolombBitReader) ReadExponentialGolombCode() (res uint, err error)

ReadExponentialGolombCode func

func (*GolombBitReader) ReadSE

func (inst *GolombBitReader) ReadSE() (res uint, err error)

ReadSE func

type Reader

type Reader struct {
	R io.Reader
	// contains filtered or unexported fields
}

Reader struct

func (*Reader) Read

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

Read func

func (*Reader) ReadBits

func (inst *Reader) ReadBits(n int) (bits uint, err error)

ReadBits func

func (*Reader) ReadBits64

func (inst *Reader) ReadBits64(n int) (bits uint64, err error)

ReadBits64 func

type Writer

type Writer struct {
	W io.Writer
	// contains filtered or unexported fields
}

Writer func

func (*Writer) FlushBits

func (inst *Writer) FlushBits() (err error)

FlushBits func

func (*Writer) Write

func (inst *Writer) Write(p []byte) (n int, err error)

Write func

func (*Writer) WriteBits

func (inst *Writer) WriteBits(bits uint, n int) (err error)

WriteBits func

func (*Writer) WriteBits64

func (inst *Writer) WriteBits64(bits uint64, n int) (err error)

WriteBits64 func

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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