What is the best way to reduce the limit of one element from one buffer to the other content is ? DirectByteBuffer 1: (1, 2, 3, 4 | 5, 6) // Before the limit can be from 1 to 3 / After DirectByteBuffer: 1: (1, 5, 6) DirectByteBuffer 2: (2, 3, 4) is the fastest way to copy the bytes between buffers You can use it to copy into a buffer's second buffer. Using different slices, you can also use it to transfer data to a single buffer, thus filling a hole. The original step left by copied data
No comments:
Post a Comment