MCPcopy Create free account
hub / github.com/dgryski/go-bitstream / WriteBit

Method WriteBit

bitstream.go:71–88  ·  view source on GitHub ↗

WriteBit writes a single bit to the stream, writing a new byte to 'w' if required.

(bit Bit)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

FlushMethod · 0.95
WriteBitsMethod · 0.95
TestBitStreamEOFFunction · 0.80
TestBitStreamFunction · 0.80
TestByteStreamFunction · 0.80
TestErrorPropagationFunction · 0.80

Calls 1

WriteMethod · 0.80

Tested by 4

TestBitStreamEOFFunction · 0.64
TestBitStreamFunction · 0.64
TestByteStreamFunction · 0.64
TestErrorPropagationFunction · 0.64