Does A Bytes (ByteArray) Class in Ruby Make Any Sense - Why? Why Not? Discuss.
Hello, while hashing “to-the-metal” byte arrays in ruby I am revisiting / reworking the bytes gem that offers a new Bytes (ByteArray) class as a “type-safe” alternative to the String class with ASCII_8BIT / BINARY encoding. Did you know? A ruby string might be a frozen string, a string buffer, a character, a bytearray, or you name it ;-). Anyways, if anyone has any comments or tips & tricks on how to work with bytearrays (bytes) in ruby, please tell / share.
Post a comment