R
Remon van Vliet
Hello,
I have a situation with ByteBuffers and i was wondering what the best way is
to do what i want :
- ByteBuffer A is 128 bytes large
- ByteBuffer B is much larger
Now i want to fill buffer A with as much as possible from buffer B, so that
A gets filled with B.position() til B.position() + 128. What is the best way
to accomplish this? Or more importantly, the fastest way.
Thanks,
Remon
I have a situation with ByteBuffers and i was wondering what the best way is
to do what i want :
- ByteBuffer A is 128 bytes large
- ByteBuffer B is much larger
Now i want to fill buffer A with as much as possible from buffer B, so that
A gets filled with B.position() til B.position() + 128. What is the best way
to accomplish this? Or more importantly, the fastest way.
Thanks,
Remon