File: Msb0.md

package info (click to toggle)
rust-bitvec 1.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,780 kB
  • sloc: makefile: 2
file content (13 lines) | stat: -rw-r--r-- 552 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
# Most-Significant-First Bit Traversal

This type orders the bits in an element with the most significant bit first and
the least significant bit last, in contiguous order across the element.

The guide has [a chapter][0] with more detailed information on the memory
representation this produces.

This type likely matches the ordering of bits you would expect to see in a
debugger, but has worse codegen than `Lsb0`, and is not encouraged if you are
not doing direct memory inspection.

[0]: https://bitvecto-rs.github.io/bitvec/memory-representation