def AmlResource.template
import bend-osdev-acpi@0.1.1.0/aml_resource.bend as AmlResourceimport Base
import bend-osdev-bytes@0.1.1.0/bytes.bend as B
322# a resource template: the descriptors, then the End Tag
323def AmlResource.template(rs: List<&2, AmlResource>) -> B.Octets:
324 res.enc.all(rs)