/** * Sets the {@code float} at position {@code pos} in the Buffer to the value {@code f}. * * <p>The buffer will expand as necessary to accommodate any value written. */ public Buffer setFloat(int pos, float f) { ensureWritable(pos, 4); buffer.setFloat(pos, f); return this; }
@Override public ByteBuf setFloat(int index, float value) { return buf.setFloat(index, value); }
@Override public ByteBuf setFloat(int var1, float var2) { return a.setFloat(var1, var2); }