J
John Sands
I'm packing up a file into an e-mail attachment using base64 encoding
and I'm only getting the first line of the file. I've discovered that
it's a misunderstanding I have about the pack method:
irb(main):001:0> ["a", "b", "c"].pack("m").unpack("m")
=> ["a"]
How do I get the whole array packed?
and I'm only getting the first line of the file. I've discovered that
it's a misunderstanding I have about the pack method:
irb(main):001:0> ["a", "b", "c"].pack("m").unpack("m")
=> ["a"]
How do I get the whole array packed?