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

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

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

ByteBuf.getChar介绍

[英]Gets a 2-byte UTF-16 character at the specified absolute index in this buffer. This method does not modify readerIndex or writerIndex of this buffer.
[中]获取此缓冲区中指定绝对索引处的2字节UTF-16字符。此方法不修改此缓冲区的readerIndex或writerIndex。

代码示例

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

@Override
public char getChar(int index) {
  return buf.getChar(index);
}

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

@Override
public char getChar(int index) {
  return buf.getChar(index);
}

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

@Override
public char getChar(int index) {
  return buf.getChar(index);
}

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

@Override
public char getChar(int index) {
  return byteBuf.getChar(index);
}

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

@Override
public char getChar(int index) {
  checkIndex(index, 2);
  return buffer.getChar(index);
}

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

@Override
public char getChar(int index) {
  checkIndex(index, 2);
  return buffer.getChar(index);
}

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

@Override
public char getChar(int index) {
  checkIndex(index, 2);
  return buffer.getChar(index);
}

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

@Override
public char getChar(int index) {
  return buf.getChar(index);
}

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

@Override
public char getChar(int index) {
  return buf.getChar(index);
}

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

@Override
public char getChar(int i)
{
  return byteBuf.getChar(i);
}

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

@Override
public char getChar(int index) {
  return buf.getChar(index);
}

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

@Override
public char getChar(final int n) {
  return this.buf.getChar(n);
}

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

@Override
public char getChar(int index) {
  return buf.getChar(index);
}

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

@Override
public char getChar(int index) {
 return delegate.getChar(index);
}

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

@Override
public char getChar(int index) {
  checkIndex(index, 2);
  return buffer.getChar(index);
}

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

@Override
public char getChar(int index) {
  checkIndex(index, 2);
  return buffer.getChar(index);
}

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

@Override
public char getChar(int index) {
  checkIndex(index, 2);
  return buffer.getChar(index);
}

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

@Override
public char getChar(int index) {
  checkIndex(index, 2);
  return buffer.getChar(index);
}

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

@Override
public char getChar(final int n) {
  this.checkIndex(n, 2);
  return this.buffer.getChar(n);
}

代码示例来源:origin: org.apache.tajo/tajo-common

@Override
public char getChar(int fieldId) {
 return buffer.getChar(checkNullAndGetOffset(fieldId));
}

相关文章

ByteBuf类方法