addshore
01/30/2025, 11:15 AMstringify or to-string on a ByteArray, and the output is getting truncated at the end, ie 0xf0, 0x7f, ...]
I moved from stringify to to-string thinking it might solve my issue, as it has a from and to, that defaults to the full size, but it is still truncated.
Is there any "easy" way to print the whole thing?addshore
01/30/2025, 11:16 AMfloitsch
01/30/2025, 11:21 AMbuffer := io.Buffer
is-first := true
bytes.do:
if is-first: is-first = false
else: buffer.write ", "
buffer.write "0x$(%02x it)"
result := buffer.to-stringfloitsch
01/30/2025, 11:24 AMaddshore
01/30/2025, 11:26 AMaddshore
01/30/2025, 11:27 AMz3ugma
02/02/2025, 6:49 PM