def nm.dec

bend-osdev-acpi@0.1.1.0 · aml_name.bend:336

import bend-osdev-acpi@0.1.1.0/aml_name.bend as AmlName
import Base
import bend-osdev-acpi@0.1.1.0/error.bend as E

336# the NameString at the front of a list of bytes
337def nm.dec(xs: List<&2, U32>) -> Result<&2, &2, E.AcpiError, AmlNameL>:
338  match xs:
339    case Nil{}:
340      Fail{E.AcpiAmlTruncated{}}
341    case Con{+c, t}:
342      nm.dec.k(AmlLead.classify(c), c, t)

Uses (7)

Used by (6)