From: Melissa Silas Date: 2007-06-18T10:52:11+09:00 Subject: healp reading / writing binary strings. Hey, I'm looking for some help with reading / writing binary string. Just need some help understanding what exactly is going on.. if I have a string like: str = "\t\005\001\006\afoo\006\abar" Or if I have something like: str = "\t\025\001\004\001\004\002\004\003\004\004\004\005\004\006\004\a\004\b\004\t\004\n" What exactly kind of format is that? How do I parse it / read binary data from it? And how can I write the same type of string from say an array? ["foo","bar"]? thanks Melissa -- Posted via http://www.ruby-forum.com/.