User Tools

Site Tools


base:streaming_1_2_4_8-bit_numbers_without_spanning_bytes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Last revisionBoth sides next revision
base:streaming_1_2_4_8-bit_numbers_without_spanning_bytes [2019-10-06 12:56] – created white_flamebase:streaming_1_2_4_8-bit_numbers_without_spanning_bytes [2019-10-06 12:59] white_flame
Line 32: Line 32:
 11: Write into the 2-bit buffer byte: 11: Write into the 2-bit buffer byte:
 <code> ....0010 11000011 ..111110 10101010</code> <code> ....0010 11000011 ..111110 10101010</code>
 +11: Write into the 2-bit buffer byte:
 +<code> ....0010 11000011 11111110 10101010</code>
 0101: Since the 4-bit buffer byte is full, create a new byte at the end of the stream for it: 0101: Since the 4-bit buffer byte is full, create a new byte at the end of the stream for it:
-<code> ....0010 11000011 ..111110 10101010 ....0101</code>+<code> ....0010 11000011 11111110 10101010 ....0101</code>
  
 When the specifically 1/2/4/8-bit reads are done in the same order as the writes were, all ordering is preserved. When the specifically 1/2/4/8-bit reads are done in the same order as the writes were, all ordering is preserved.
base/streaming_1_2_4_8-bit_numbers_without_spanning_bytes.txt · Last modified: 2019-10-06 13:09 by white_flame