MCPcopy Create free account
hub / github.com/rsc/tmp / BrotliWriteBits

Function BrotliWriteBits

brotli/enc_write_bits.h:35–75  ·  view source on GitHub ↗

This function writes bits into bytes in increasing addresses, and within a byte least-significant-bit first. The function can write up to 56 bits in one go with WriteBits Example: let's assume that 3 bits (Rs below) have been written already: BYTE-0 BYTE+1 BYTE+2 0000 0RRR 0000 0000 0000 0000 Now, we could write 5 or less bits in MSB by just shifting by 3 a

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

EmitInsertLenFunction · 0.85
EmitLongInsertLenFunction · 0.85
EmitCopyLenFunction · 0.85
EmitCopyLenLastDistanceFunction · 0.85
EmitDistanceFunction · 0.85
EmitLiteralsFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…