Expand description
Byte-range annotations for .mbc snapshots (the playground inspector).
describe_bytecode funnels the buffer through read_bytecode first —
the full L1 validation — and only then re-walks it, recording one region
per format field. Regions are emitted in file order, are never empty, and
tile the buffer exactly: the first starts at offset 0, each next region
starts where the previous one ends, and the last ends at byte_length.
Consumers can therefore render a complete annotated hexdump without gap
or overlap handling.
Structs§
- Snapshot
Layout - Snapshot
Region - One annotated byte range.
labelnames the format field (“magic”, “const[0] tag”, “OpConst 1”);detailexplains the decoded value.
Enums§
Functions§
- describe_
bytecode - Annotate every byte of a validated
.mbcbuffer.