Guest User

Untitled

a guest
Apr 26th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. ByteBuffer bb = ByteBuffer.allocate(100);
  2. ByteBuffer bb2 = ByteBuffer.allocate(200);
  3. bb = bb.allocate(200).put(bb2);
  4. System.out.println(bb.array().length);
Add Comment
Please, Sign In to add comment