本文整理了Java中io.netty.buffer.ByteBuf.getCharSequence()
方法的一些代码示例,展示了ByteBuf.getCharSequence()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ByteBuf.getCharSequence()
方法的具体详情如下:
包路径:io.netty.buffer.ByteBuf
类名称:ByteBuf
方法名:getCharSequence
[英]Gets a CharSequence with the given length at the given index.
[中]获取给定索引处具有给定长度的CharSequence。
代码示例来源:origin: netty/netty
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
return buf.getCharSequence(index, length, charset);
}
代码示例来源:origin: netty/netty
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
return buf.getCharSequence(index, length, charset);
}
代码示例来源:origin: redisson/redisson
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
return buf.getCharSequence(index, length, charset);
}
代码示例来源:origin: redisson/redisson
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
return buf.getCharSequence(index, length, charset);
}
代码示例来源:origin: wildfly/wildfly
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
return buf.getCharSequence(index, length, charset);
}
代码示例来源:origin: wildfly/wildfly
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
return buf.getCharSequence(index, length, charset);
}
代码示例来源:origin: micronaut-projects/micronaut-core
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
return byteBuf.getCharSequence(index, length, charset);
}
代码示例来源:origin: netty/netty
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
checkIndex(index, length);
return buffer.getCharSequence(index, length, charset);
}
代码示例来源:origin: redisson/redisson
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
checkIndex(index, length);
return buffer.getCharSequence(index, length, charset);
}
代码示例来源:origin: wildfly/wildfly
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
checkIndex(index, length);
return buffer.getCharSequence(index, length, charset);
}
代码示例来源:origin: traccar/traccar
@Override
protected Object decode(
ChannelHandlerContext ctx, Channel channel, ByteBuf buf) throws Exception {
if (buf.readableBytes() < 10) {
return null;
}
if (buf.getCharSequence(buf.readerIndex(), 4, StandardCharsets.US_ASCII).equals("ATL,")) {
return decodeNew(buf);
} else {
return decodeOld(buf);
}
}
代码示例来源:origin: netty/netty
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
checkIndex0(index, length);
return unwrap().getCharSequence(idx(index), length, charset);
}
代码示例来源:origin: redisson/redisson
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
checkIndex0(index, length);
return unwrap().getCharSequence(idx(index), length, charset);
}
代码示例来源:origin: wildfly/wildfly
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
checkIndex0(index, length);
return unwrap().getCharSequence(idx(index), length, charset);
}
代码示例来源:origin: io.netty/netty-buffer
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
return buf.getCharSequence(index, length, charset);
}
代码示例来源:origin: io.netty/netty-buffer
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
return buf.getCharSequence(index, length, charset);
}
代码示例来源:origin: io.netty/netty-buffer
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
checkIndex0(index, length);
return unwrap().getCharSequence(idx(index), length, charset);
}
代码示例来源:origin: io.netty/netty-codec
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
checkIndex(index, length);
return buffer.getCharSequence(index, length, charset);
}
代码示例来源:origin: apache/activemq-artemis
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
checkIndex(index, length);
return buffer.getCharSequence(index, length, charset);
}
代码示例来源:origin: org.apache.activemq/artemis-jms-client-all
@Override
public CharSequence getCharSequence(int index, int length, Charset charset) {
checkIndex(index, length);
return buffer.getCharSequence(index, length, charset);
}
内容来源于网络,如有侵权,请联系作者删除!