addshore
02/27/2026, 2:22 PM// An example of using Toit's string formatting to print a byte in hex and binary.
main:
byte := 94
print "$(%02x byte)" // 5e
print "$(%08b byte)" // 01011110
Or perhaps more advanced, such as showing task failure and exception bubble ups and what happens with the most basic example to follow.
Is there already a good place for thigns like this? I can always put it in my own repo, but I also feel it might make sense to be as a resource for toit in general?