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

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

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

ByteBuf.setDouble介绍

[英]Sets the specified 64-bit floating-point number at the specified absolute index in this buffer. This method does not modify readerIndex or writerIndex of this buffer.
[中]在此缓冲区中指定的绝对索引处设置指定的64位浮点数。此方法不修改此缓冲区的readerIndex或writerIndex。

代码示例

代码示例来源:origin: netty/netty

@Override
public ByteBuf setDouble(int index, double value) {
  buf.setDouble(index, value);
  return this;
}

代码示例来源:origin: redisson/redisson

@Override
public ByteBuf setDouble(int index, double value) {
  buf.setDouble(index, value);
  return this;
}

代码示例来源:origin: wildfly/wildfly

@Override
public ByteBuf setDouble(int index, double value) {
  buf.setDouble(index, value);
  return this;
}

代码示例来源:origin: micronaut-projects/micronaut-core

@Override
public ByteBuf setDouble(int index, double value) {
  byteBuf.setDouble(index, value);
  return this;
}

代码示例来源:origin: eclipse-vertx/vert.x

public Buffer setDouble(int pos, double d) {
 ensureWritable(pos, 8);
 buffer.setDouble(pos, d);
 return this;
}

代码示例来源:origin: io.netty/netty-buffer

@Override
public ByteBuf setDouble(int index, double value) {
  buf.setDouble(index, value);
  return this;
}

代码示例来源:origin: io.vertx/vertx-core

public Buffer setDouble(int pos, double d) {
 ensureWritable(pos, 8);
 buffer.setDouble(pos, d);
 return this;
}

代码示例来源:origin: io.ratpack/ratpack-core

@Override
public ByteBuf setDouble(int index, double value) {
 delegate.setDouble(index, value);
 return this;
}

代码示例来源:origin: org.apache.activemq/artemis-jms-client-all

@Override
public ByteBuf setDouble(int index, double value) {
  buf.setDouble(index, value);
  return this;
}

代码示例来源:origin: apache/activemq-artemis

@Override
public ByteBuf setDouble(int index, double value) {
  buf.setDouble(index, value);
  return this;
}

代码示例来源:origin: ProtocolSupport/ProtocolSupport

@Override
public ByteBuf setDouble(final int n, final double n2) {
  this.buf.setDouble(n, n2);
  return this;
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

@Override
public ByteBuf setDouble(int index, double value) {
  buf.setDouble(index, value);
  return this;
}

代码示例来源:origin: io.reactivesocket/reactivesocket-transport-tcp

@Override
public void putDouble(int index, double value)
{
  byteBuf.setDouble(index, value);
}

代码示例来源:origin: Dytanic/CloudNet

@Override
public ByteBuf setDouble(int i, double v)
{
  return byteBuf.setDouble(i, v);
}

代码示例来源:origin: io.reactivesocket/reactivesocket-transport-tcp

@Override
public void putDouble(int index, double value, ByteOrder byteOrder)
{
  ensureByteOrder(byteOrder);
  byteBuf.setDouble(index, value);
}

相关文章

ByteBuf类方法