Elektrine lite

← Feed

@adb@lemmy.ml

Post #2941162

2026-02-25 13:27 UTC

Binary exists in both ~~big-endian~~LSb or ~~little-endian~~MSb. In other words, both directions can be valid. As explained below: Endianness is specifically the order of bytes. I was under the impression that it also implied a specific order of bits but anyways, the correct terms for this discussion is Least/Most Significant bit order.

Replies (2)

  • @CannonFodder@lemmy.world 2026-02-25 13:33

    Ya, but we pretty much always write it with most significant on the left. The endianness is more to do with the order transmitted when serialized. Or are there cases where people actually write it backwards?

    Open ##2941171

  • @glibg10b@lemmy.zip 2026-02-26 07:53

    This is a single byte, so it's represented the same in big-endian vs little-endian. Endianness defines the order of bytes, not individual bits

    Open ##2941172