3 ms·
I found this analogy of trains and railcars good but I'm lost on this bit (110)00000 (10)000000 => C0 80 EDIT: OK I asssume he's referring to C and octal here
by stormdennis 6y ago
I found this analogy of trains and railcars good but I'm lost on this bit
(110)00000 (10)000000 => C0 80
EDIT: OK I asssume he's referring to C and octal here and not a hexadecimal and decimal numbers?
- duskwuff 6y agoBinary 11000000 10000000 = hexadecimal C0 80.
- stormdennis 6y agoThank you, got it now! I think he might have been clearer if he'd said "To represent a NUL byte without any physical NUL bytes, we don't discard the indicators and instead treat it like a character above ASCII, which must be a minimum two bytes long 11000000 10000000 => hexadecimal C0 80."