How to represent a byte array in JRuby?

My goal is to have a jruby class which allows for relatively easy
manipulation of data in a way similar to a byte array. Ruby itself
seem to have a great way to do this, so I’m not sure what the best way
do this in jruby is. I appreciate any help in this!


wrap a java byte array perhaps?

I ended up finding out that you can do Java::byte[1024].new, very handy.

2012/3/2 Roger P. [email protected]