def res.enc.all

bend-osdev-acpi@0.1.1.0 · aml_resource.bend:315

import bend-osdev-acpi@0.1.1.0/aml_resource.bend as AmlResource
import Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B

315def res.enc.all(rs: List<&2, AmlResource>) -> B.Octets:
316  match rs:
317    case Nil{}:
318      res.b([121, 0])
319    case Con{r, t}:
320      B.Octets.append(AmlResource.encode(r), res.enc.all(t))

Uses (6)

Used by (1)