bitwise

package module
v0.0.0-...-e65b278 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: ISC Imports: 2 Imported by: 0

README

bitwise

Bit-level parsing in Go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

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

func NewReader

func NewReader(in bitReader) *Reader

func (*Reader) Align

func (r *Reader) Align() (n uint8, l uint)

func (*Reader) Aligned

func (r *Reader) Aligned() bool

func (*Reader) ReadBits

func (r *Reader) ReadBits(l uint) (n uint64, err error)

func (*Reader) ReadBool

func (r *Reader) ReadBool() (b bool, err error)

func (*Reader) ReadBytes

func (r *Reader) ReadBytes(l uint) (buf []byte, n uint, err error)

Jump to

Keyboard shortcuts

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