本文整理了Java中com.couchbase.client.deps.io.netty.buffer.ByteBuf.readBoolean()
方法的一些代码示例,展示了ByteBuf.readBoolean()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ByteBuf.readBoolean()
方法的具体详情如下:
包路径:com.couchbase.client.deps.io.netty.buffer.ByteBuf
类名称:ByteBuf
方法名:readBoolean
[英]Gets a boolean at the current readerIndex and increases the readerIndex by 1 in this buffer.
[中]获取当前readerIndex处的布尔值,并在此缓冲区中将readerIndex增加1。
代码示例来源:origin: couchbase/couchbase-jvm-core
@Override
public boolean readBoolean() {
return buf.readBoolean();
}
代码示例来源:origin: com.couchbase.client/core-io
@Override
public boolean readBoolean() {
return buf.readBoolean();
}
代码示例来源:origin: com.couchbase.client/core-io
@Override
public boolean readBoolean() {
return buf.readBoolean();
}
代码示例来源:origin: couchbase/couchbase-jvm-core
@Override
public boolean readBoolean() {
return buf.readBoolean();
}
代码示例来源:origin: com.couchbase.client/core-io
@Override
public boolean readBoolean() {
checkReadableBytes(1);
return buffer.readBoolean();
}
代码示例来源:origin: couchbase/couchbase-jvm-core
@Override
public boolean readBoolean() {
checkReadableBytes(1);
return buffer.readBoolean();
}
代码示例来源:origin: couchbase/java-dcp-client
ObserveSeqnoResponse(final ByteBuf response) {
ByteBuf content = MessageUtil.getContent(response);
this.didFailover = content.readBoolean();
this.vbid = content.readShort();
this.vbuuid = content.readLong();
this.persistSeqno = content.readLong();
this.currentSeqno = content.readLong();
this.oldVbuuid = this.didFailover ? content.readLong() : 0;
this.lastSeqno = this.didFailover ? content.readLong() : 0;
}
内容来源于网络,如有侵权,请联系作者删除!