def AmlPkgLength.encode

bend-osdev-acpi@0.1.1.0 · aml_pkglength.bend:131

import bend-osdev-acpi@0.1.1.0/aml_pkglength.bend as AmlPkglength
import Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B

131# v in the shortest form (the low 28 bits of v)
132def AmlPkgLength.encode(+v: U32) -> B.Octets:
133  B.Octets.of_list(pk.enc(v))

Uses (4)

Used by (10)