I did my homework before, so i'm aware of other questions like pack / unpack functions for node.js
the point is, those packs, return everything but a binary string. What i would like to do is a simple:
ruby-1.9.2-p136 :001 > [1,"10.0.0.1","foo"].pack 'l! a4 Z*'
=> "\x01\x00\x00\x00\x00\x00\x00\x0010.0foo\x00"