BFEVFL: Difference between revisions

no edit summary
imported>Leoetlino
imported>Leoetlino
No edit summary
Line 139: Line 139:
     return (byte_idx << 3) | (bit_idx - 8*byte_idx)
     return (byte_idx << 3) | (bit_idx - 8*byte_idx)
</syntaxhighlight>
</syntaxhighlight>
Example: <code>Hello</code> corresponds to 100100001100101011011000110110001101111. Bits 0-3 are 1, bit 4 is 0, etc.


=== Container ===
=== Container ===
Anonymous user