I want to encode double[]
with Base64
or similar. For this I need to have byte[]
how to convert/represent/cast double array to byte array with minimal copying?
I was considering to use ByteBuffer
and DoubleBuffer
but this will require copying.