Reminder that the computer's endianness shouldn't matter. You should only care about the endianness of the streams your reading from and writing to.
https://commandcenter.blogspot.com/2012/04/byte-order-fallac...
https://commandcenter.blogspot.com/2012/04/byte-order-fallac...
So in C and the like one uses "unsigned" regardless if bit strings or non-negative numbers are needed.
Because no explicit conversions between bit strings and numeric types are used, it is frequent to have expressions where a certain endianness of the numbers is assumed implicitly.
This is the most frequent source of bugs that manifest when a program is run on a machine with an opposite endianness than assumed in the program.