From: Edward Stembler Date: 2012-02-11T07:18:41+09:00 Subject: How do I save a Net::BER::BerIdentifiedString as a binary file? Anyone know how to save a Net::BER::BerIdentifiedString as a binary file? I've tried .dump, but that did not work. I noticed there's a .bytes enumerator, but I'm not sure what to do with it. Basically, I have an Net::BER::BerIdentifiedString [Binary Data] which is holding a profile photo from an LDAP call, and I want to save it as a jpg file. -- Posted via http://www.ruby-forum.com/.