> age_tools:binary_to_hex(<<"Zebra">>).
"5A65627261"
> Binary = <<131,104,4,119,13,116,97,115,107,95,114,101,115,112,111,110,115,101,98,0,225,
100,178,97,110,116,0,0,0,3,119,4,116,121,112,101,119,9,100,98,95,99,111,117,
110,116,115,119,4,100,97,116,97,108,0,0,0,1,104,2,119,6,105,110,115,101,114,
116,97,0,108,0,0,0,1,104,2,119,6,117,112,100,97,116,101,97,0,108,0,0,0,1,104,
2,119,6,100,101,108,101,116,101,97,0,108,0,0,0,1,104,2,119,8,114,101,97,100,
95,105,100,120,97,51,108,0,0,0,1,104,2,119,8,114,101,97,100,95,115,101,113,
97,75,106,119,8,100,117,114,97,116,105,111,110,97,0>>.
> logger:debug("~ts\n--", [age_tools:binary_to_hex(Binary, printable)]).
=DEBUG REPORT==== 20-Oct-2020::15:32:37.929000 ===
83 68 04 77 0D 74 61 73 - 6B 5F 72 65 73 70 6F 6E
73 65 62 00 E1 64 B2 61 - 6E 74 00 00 00 03 77 04
74 79 70 65 77 09 64 62 - 5F 63 6F 75 6E 74 73 77
04 64 61 74 61 6C 00 00 - 00 01 68 02 77 06 69 6E
73 65 72 74 61 00 6C 00 - 00 00 01 68 02 77 06 75
70 64 61 74 65 61 00 6C - 00 00 00 01 68 02 77 06
64 65 6C 65 74 65 61 00 - 6C 00 00 00 01 68 02 77
08 72 65 61 64 5F 69 64 - 78 61 33 6C 00 00 00 01
68 02 77 08 72 65 61 64 - 5F 73 65 71 61 4B 6A 77
08 64 75 72 61 74 69 6F - 6E 61 00
--
|