hex/output.fjΒΆ

β€”β€”β€”- Output Hex

View source on GitHub

MacrosΒΆ

hexΒΆ

  • hex.output β€” output 4 bits from hex  (lsb first)

  • hex.print/1 β€” output 8 bits from x[:2]  (lsb first)

  • hex.print/2 β€” output n bytes from x[:2n]  (lsb first)

  • hex.print_as_digit/2 β€” use_uppercase (constant): if true, print in uppercase (else lowercase).

  • hex.print_as_digit/3 β€” use_uppercase (constant): if true, print in uppercase (else lowercase).

  • hex.print_uint β€” x_prefix (constant): print with the β€œ0x” prefix.

  • hex.print_int β€” x_prefix (constant): print with the β€œ0x” prefix.

hex.print_uintΒΆ