Conversation
endianness refers to the order bytes are transmitted but what is the order of bits typically is the msb first or the lsb?
2
0
1
@meeper within a byte? it's big endian. invariably, because there's no reason to have it be different; dropping bits within a byte never happens, so there's no "oh no i missed msb" concern.
1
0
0
@meeper depends if big endian or little endian right?
1
0
0
@HatkeshiatorTND @meeper i mean bit errors can happen in any order (tho ig P(error) increases with time so fair)
1
0
1
@meeper @meeper exactly. byte errors aren't random that way
my transmission goes
[ byte byte byte byte ] {<- number!}
.
.
.

the absolute most likely error is that somebody will tune in late and will see only the last two bytes, or the last byte, of a number. i want that person to have the most significant part of the number.

same does not happen for bits as bits are usually not the unit travelling through the wire

of course, you could just send full words on the wire and endianness becomes irrelevant, but then you're going to have to talk to machines that want a byte at a time, and those were probably made to talk to each other and hence are LE and so you want your machine to also be LE so it can trivially talk to those machines.
0
0
1