Slide 13
Slide 13 text
webbundle = [
; in UTF-8.
magic: h'F0 9F 8C 90 F0 9F 93 A6',
section-offsets: bytes .cbor {* ($section-name .within tstr) =>
[ offset: uint, length: uint] },
sections: [* $section ],
length: bytes .size 8, ; Big-endian number of bytes in the bundle.
]
$section-name /= "index" / "manifest" / "critical" / "responses"
$section /= index / manifest / critical / responses
responses = [*response]