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