Example #1
0
 /**
  * Sets the {@code double} at position {@code pos} in the Buffer to the value {@code d}.
  *
  * <p>The buffer will expand as necessary to accommodate any value written.
  */
 public Buffer setDouble(int pos, double d) {
   ensureWritable(pos, 8);
   buffer.setDouble(pos, d);
   return this;
 }
Example #2
0
 @Override
 public ByteBuf setDouble(int index, double value) {
   return buf.setDouble(index, value);
 }
 @Override
 public ByteBuf setDouble(int var1, double var2) {
   return a.setDouble(var1, var2);
 }