def AmlName.decode
import bend-osdev-acpi@0.1.1.0/aml_name.bend as AmlNameimport Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B
import bend-osdev-acpi@0.1.1.0/error.bend as E
351# the NameString at the front of o, and what follows it
352def AmlName.decode(o: B.Octets) -> Result<&2, &2, E.AcpiError, AmlNameParsed>:
353 nm.pub(nm.dec(B.Octets.to_list(o)))