Exemplo n.º 1
0
 @Override
 public NativeSizeBuffer put(NativeBuffer buffer) {
   if (remaining() < buffer.remaining()) {
     throw new IndexOutOfBoundsException();
   }
   while (buffer.hasRemaining()) {
     put(buffer.get());
   }
   return this;
 }