bitsop

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2017 License: MIT Imports: 0 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compress

func Compress(mark byte, str string) []byte

func Decompress

func Decompress(buf []byte) (byte, string)

Types

type BitsArray

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

func NewBitsArray

func NewBitsArray(ln int) *BitsArray

func (*BitsArray) GetBytes

func (b *BitsArray) GetBytes() []byte

func (*BitsArray) Push

func (b *BitsArray) Push(bits ...byte)

func (*BitsArray) PushByte

func (b *BitsArray) PushByte(n byte, w int)

func (*BitsArray) RemainingBitsToOneByte

func (b *BitsArray) RemainingBitsToOneByte() int

Jump to

Keyboard shortcuts

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