def AmlValue.show_int

bend-osdev-acpi@0.1.1.0 · aml_value.bend:338

import bend-osdev-acpi@0.1.1.0/aml_value.bend as AmlValue
import Base
import bend-osdev-word64@0.1.1.0/word64.bend as W
import bend-osdev-bytes@0.1.1.0/bytes.bend as B

338def AmlValue.show_int(+x: W.W64) -> String:
339  +ds = val.hex.text(16n, x, Nil{})
340  "0x" ++ B.to_string(val.lower(val.lz(ds, True{}, val.lz.z(ds))))

Uses (10)

Used by (4)