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/.