io.netty.buffer.ByteBuf.writeDoubleLE()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(1.0k)|赞(0)|评价(0)|浏览(199)

本文整理了Java中io.netty.buffer.ByteBuf.writeDoubleLE()方法的一些代码示例,展示了ByteBuf.writeDoubleLE()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ByteBuf.writeDoubleLE()方法的具体详情如下:
包路径:io.netty.buffer.ByteBuf
类名称:ByteBuf
方法名:writeDoubleLE

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;
}

相关文章

ByteBuf类方法