本文整理了Java中io.netty.buffer.ByteBuf.writeFloatLE()
方法的一些代码示例,展示了ByteBuf.writeFloatLE()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ByteBuf.writeFloatLE()
方法的具体详情如下:
包路径:io.netty.buffer.ByteBuf
类名称:ByteBuf
方法名:writeFloatLE
[英]Sets the specified 32-bit floating point number at the current writerIndex in Little Endian Byte Order and increases the writerIndex by 4 in this buffer.
[中]在当前writerIndex处以小尾端字节顺序设置指定的32位浮点数,并在此缓冲区中将writerIndex增加4。
代码示例来源:origin: apache/incubator-shardingsphere
@Override
public void write(final MySQLPacketPayload payload, final Object value) {
payload.getByteBuf().writeFloatLE(Float.parseFloat(value.toString()));
}
}
代码示例来源:origin: apache/incubator-shardingsphere
@Override
public void write(final MySQLPacketPayload payload, final Object value) {
payload.getByteBuf().writeFloatLE(Float.parseFloat(value.toString()));
}
}
代码示例来源:origin: io.ratpack/ratpack-core
@Override
public ByteBuf writeFloatLE(float value) {
delegate.writeFloatLE(value);
return this;
}
内容来源于网络,如有侵权,请联系作者删除!