MCPcopy Create free account

hub / github.com/dgryski/go-bitstream / functions

Functions21 in github.com/dgryski/go-bitstream

↓ 7 callersFunctionNewReader
NewReader returns a BitReader that returns a single bit at a time from 'r'
bitstream.go:33
↓ 7 callersMethodWriteBit
WriteBit writes a single bit to the stream, writing a new byte to 'w' if required.
bitstream.go:71
↓ 6 callersFunctionNewWriter
NewWriter returns a BitWriter that buffers bits and write the resulting bytes to 'w'
bitstream.go:54
↓ 5 callersMethodReadBit
ReadBit returns the next bit from the stream, reading a new byte from the underlying reader if required.
bitstream.go:40
↓ 5 callersMethodWriteBits
WriteBits writes the nbits least significant bits of u, most-significant-bit first.
bitstream.go:181
↓ 4 callersMethodReadBits
ReadBits reads nbits from the stream
bitstream.go:137
↓ 4 callersMethodReadByte
ReadByte reads a single byte from the stream, regardless of alignment
bitstream.go:105
↓ 3 callersMethodRead
(p []byte)
bitstream_test.go:71
↓ 3 callersMethodWriteByte
WriteByte writes a single byte to the stream, regardless of alignment
bitstream.go:91
↓ 2 callersMethodFlush
Flush empties the currently in-process byte by filling it with 'bit'.
bitstream.go:168
↓ 2 callersMethodReset
Reset replaces the underlying io.Reader with the provided reader and resets all interal state to its zero value, allowing for reuse of the BitReader w
bitstream.go:208
↓ 2 callersMethodWrite
(p []byte)
bitstream_test.go:183
MethodPending
()
bitstream.go:61
MethodReset
Reset replaces the underlying io.Writer with the provided writer and resets all internal state to its initial value allowing for reuse of the BitWrite
bitstream.go:217
MethodResume
(data byte, count uint8)
bitstream.go:65
FunctionTestBitStream
(t *testing.T)
bitstream_test.go:92
FunctionTestBitStreamEOF
(t *testing.T)
bitstream_test.go:11
FunctionTestBitStreamReadEOF
(t *testing.T)
bitstream_test.go:80
FunctionTestByteStream
(t *testing.T)
bitstream_test.go:120
FunctionTestErrorPropagation
(t *testing.T)
bitstream_test.go:186
FunctionTestReset
(t *testing.T)
bitstream_test.go:210