streaming

package
v0.0.0-...-dce6603 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitReader

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

func NewBitReader

func NewBitReader(reader io.Reader) *BitReader

func (*BitReader) Error

func (r *BitReader) Error() error

func (*BitReader) ReadBool

func (r *BitReader) ReadBool() bool

func (*BitReader) ReadInt

func (r *BitReader) ReadInt(count int) int64

func (*BitReader) ReadIntPacked

func (r *BitReader) ReadIntPacked(countPacked int) int64

func (*BitReader) ReadUint

func (r *BitReader) ReadUint(count int) uint64

func (*BitReader) ReadUintPacked

func (r *BitReader) ReadUintPacked(countPacked int) uint64

type Writer

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

func NewWriter

func NewWriter(data []byte) *Writer

func (*Writer) Seek

func (w *Writer) Seek(offset int64, whence int) (int64, error)

func (*Writer) Write

func (w *Writer) Write(data []byte) (int, error)

Jump to

Keyboard shortcuts

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