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