Skip to main content

Module format

Module format 

Source
Expand description

Host-side formatting helpers shared by operator tools.

Functionsยง

byte_size
Format a byte size using IEC units with two decimal places.
compact_duration
Format a duration in compact largest units for CLI tables and summaries.
cycles_tc
Format a cycle balance in trillions with two decimal places.
wasm_size_label
Format the IC-relevant uncompressed wasm size, with gzip size as secondary.