コード例 #1
0
 @Override
 public void addBinary(Binary value) {
   holder.buffer = buf = buf.reallocIfNeeded(value.length());
   buf.setBytes(0, value.toByteBuffer());
   holder.start = 0;
   holder.end = value.length();
   writer.write(holder);
 }
コード例 #2
0
 @Override
 public void addBinary(Binary value) {
   holder.buffer.setBytes(0, value.toByteBuffer());
   writer.write(holder);
 }