public class BsonByteBufferReader extends BsonReader
position, SIGN_HASNEXT, SIGN_NONEXT, SIGN_OBJECTB, SIGN_OBJECTE, typeval, VERBOSE_NO, VERBOSE_YESfieldIndex, SIGN_NOLENGTH, SIGN_NULL| 限定符 | 构造器和说明 |
|---|---|
protected |
BsonByteBufferReader(java.nio.ByteBuffer... buffers) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected byte |
currentByte() |
protected byte[] |
read(int len) |
int |
readArrayB()
判断下一个非空白字节是否为[
|
boolean |
readBoolean()
读取一个boolean值
|
byte |
readByte()
读取一个byte值
|
char |
readChar()
读取一个char值
|
int |
readInt()
读取一个int值
|
long |
readLong()
读取一个long值
|
short |
readShort()
读取一个short值
|
java.lang.String |
readSmallString()
读取无转义字符长度不超过255的字符串, 例如枚举值、字段名、类名字符串等
|
java.lang.String |
readString()
读取一个String值
|
protected boolean |
recycle() |
close, createPool, hasNext, readArrayE, readBlank, readClassName, readDouble, readFieldName, readFloat, readMapB, readMapE, readObjectB, readObjectE, setBytes, setBytes, skipValueprotected boolean recycle()
recycle 在类中 BsonReaderprotected byte currentByte()
currentByte 在类中 BsonReaderpublic final int readArrayB()
readArrayB 在类中 BsonReaderpublic final boolean readBoolean()
ReaderreadBoolean 在类中 BsonReaderpublic byte readByte()
ReaderreadByte 在类中 BsonReaderpublic final char readChar()
ReaderreadChar 在类中 BsonReaderpublic final short readShort()
ReaderreadShort 在类中 BsonReaderpublic final int readInt()
ReaderreadInt 在类中 BsonReaderpublic final long readLong()
ReaderreadLong 在类中 BsonReaderprotected byte[] read(int len)
public final java.lang.String readSmallString()
ReaderreadSmallString 在类中 BsonReaderpublic final java.lang.String readString()
ReaderreadString 在类中 BsonReader