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
doesn’t
seem to have a great way to do this, so I’m not sure what the best way
to
do this in jruby is. I appreciate any help in this!

Jon

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]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs