org.glassfish.grizzly.Buffer.putDouble()方法的使用及代码示例

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

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

Buffer.putDouble介绍

[英]Relative put method for writing a double value  (optional operation).

Writes eight bytes containing the given double value, in the current byte order, into this buffer at the current position, and then increments the position by eight.
[中]用于写入双精度值的相对put方法(可选操作)。
按当前字节顺序将包含给定双精度值的八个字节写入当前位置的缓冲区,然后将该位置递增八。

代码示例

代码示例来源:origin: org.glassfish.shoal/shoal-gms-impl

@Override
public Buffer putDouble(final double value) {
  grizzlyBuffer.putDouble(value);
  return this;
}

代码示例来源:origin: org.shoal/shoal-gms-impl

@Override
public Buffer putDouble(final double value) {
  grizzlyBuffer.putDouble(value);
  return this;
}

代码示例来源:origin: org.shoal/shoal-gms-impl

@Override
public Buffer putDouble(final int index, final double value) {
  grizzlyBuffer.putDouble(index, value);
  return this;
}

代码示例来源:origin: org.glassfish.shoal/shoal-gms-impl

@Override
public Buffer putDouble(final int index, final double value) {
  grizzlyBuffer.putDouble(index, value);
  return this;
}

相关文章