3 ms·
Option<u8>, given that in C ‘characters’ means bytes, not code points.
by pwdisswordfish2 7y ago
Option<u8>, given that in C ‘characters’ means bytes, not code points.
- kevin_thibedeau 7y agoA byte could be 6,7,8, or 9 bits depending on platform.
- pwdisswordfish2 7y agoYes, but Rust doesn’t support those. So on platforms where both C and Rust run, bytes will be 8 bits. Either way, no platform defines bytes to be Unicode code points.