本文整理了Java中io.netty.buffer.ByteBuf.setChar()
方法的一些代码示例,展示了ByteBuf.setChar()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ByteBuf.setChar()
方法的具体详情如下:
包路径:io.netty.buffer.ByteBuf
类名称:ByteBuf
方法名:setChar
[英]Sets the specified 2-byte UTF-16 character at the specified absolute index in this buffer. The 16 high-order bits of the specified value are ignored. This method does not modify readerIndex or writerIndex of this buffer.
[中]在此缓冲区中指定的绝对索引处设置指定的2字节UTF-16字符。指定值的16个高位将被忽略。此方法不修改此缓冲区的readerIndex或writerIndex。
代码示例来源:origin: netty/netty
@Override
public ByteBuf setChar(int index, int value) {
buf.setChar(index, value);
return this;
}
代码示例来源:origin: redisson/redisson
@Override
public ByteBuf setChar(int index, int value) {
buf.setChar(index, value);
return this;
}
代码示例来源:origin: wildfly/wildfly
@Override
public ByteBuf setChar(int index, int value) {
buf.setChar(index, value);
return this;
}
代码示例来源:origin: micronaut-projects/micronaut-core
@Override
public ByteBuf setChar(int index, int value) {
byteBuf.setChar(index, value);
return this;
}
代码示例来源:origin: io.netty/netty-buffer
@Override
public ByteBuf setChar(int index, int value) {
buf.setChar(index, value);
return this;
}
代码示例来源:origin: apache/activemq-artemis
@Override
public ByteBuf setChar(int index, int value) {
buf.setChar(index, value);
return this;
}
代码示例来源:origin: io.ratpack/ratpack-core
@Override
public ByteBuf setChar(int index, int value) {
delegate.setChar(index, value);
return this;
}
代码示例来源:origin: ProtocolSupport/ProtocolSupport
@Override
public ByteBuf setChar(final int n, final int n2) {
this.buf.setChar(n, n2);
return this;
}
代码示例来源:origin: org.apache.activemq/artemis-jms-client-all
@Override
public ByteBuf setChar(int index, int value) {
buf.setChar(index, value);
return this;
}
代码示例来源:origin: org.jboss.eap/wildfly-client-all
@Override
public ByteBuf setChar(int index, int value) {
buf.setChar(index, value);
return this;
}
代码示例来源:origin: Dytanic/CloudNet
@Override
public ByteBuf setChar(int i, int i1)
{
return byteBuf.setChar(i, i1);
}
内容来源于网络,如有侵权,请联系作者删除!