If I have a UUID string like the following:
217aad3b-0b3d-4df0-a9ee-4fc9708f40bd
How do I pack that into a byte array (16 bytes) so that I can send it over HTTP as binary data?
Given the byte array, what is the function that unpacks it into a string like the one above?
'é'.bytesize # => 2
. That probably won't help the OP though.