Header.AcpiHeader.encode: def of bend-osdev-acpi@0.1.1.0 Import: import bend-osdev-acpi@0.1.1.0/header.bend as Header Lines 81-84 of bend-osdev-acpi@0.1.1.0/header.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-acpi@0.1.1.0/header.bend&start_line=81&end_line=84 import Base import bend-osdev-bytes@0.1.1.0/bytes.bend as B def AcpiHeader.encode(h: AcpiHeader) -> B.Octets: match h: case AcpiHeader{s, l, r, c, o, t, orv, ci, cr}: B.Octets.append(s, B.Octets.append(B.Octets.le32(l), B.Octets.append(hd.byte(r), B.Octets.append(hd.byte(c), B.Octets.append(o, B.Octets.append(t, B.Octets.append(B.Octets.le32(orv), B.Octets.append(ci, B.Octets.le32(cr))))))))) Uses (5): https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/header.bend&name=AcpiHeader https://jend.leeeet.dev/definition.txt?path=bend-osdev-acpi@0.1.1.0/header.bend&name=hd.byte https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.append https://jend.leeeet.dev/definition.txt?path=bend-osdev-bytes@0.1.1.0/bytes.bend&name=Octets.le32