- java.lang.Object
- 
- org.redkale.convert.Reader
- 
- org.redkale.convert.pb.ProtobufReader
- 
- org.redkale.convert.pb.ProtobufByteBufferReader
 
 
 
- 
 public class ProtobufByteBufferReader extends ProtobufReader - 作者:
- zhangjx
 
- 
- 
嵌套类概要- 
从类继承的嵌套类/接口 org.redkale.convert.ReaderReader.ValueType
 
- 
 - 
字段概要- 
从类继承的字段 org.redkale.convert.pb.ProtobufReadercacheTag, limit, LIS_CREATOR, position
 - 
从类继承的字段 org.redkale.convert.ReaderSIGN_NULL, SIGN_VARIABLE
 
- 
 - 
构造器概要构造器 限定符 构造器 说明 protectedProtobufByteBufferReader()protectedProtobufByteBufferReader(ByteBuffer... buffers)
 - 
方法概要所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanhasNext()是否还存在下个元素或字段protected bytenextByte()protected byte[]nextBytes(int size)booleanreadBoolean()读取一个boolean值byte[]readByteArray()读取byte[]protected intreadRawLittleEndian32()protected longreadRawLittleEndian64()protected intreadRawVarint32()protected longreadRawVarint64()protected longreadRawVarint64SlowPath()StringreadString()读取一个String值protected booleanrecycle()byte[]remainBytes()- 
从类继承的方法 org.redkale.convert.pb.ProtobufReaderbackTag, clear, limit, limit, position, prepare, readArrayB, readArrayE, readBlank, readBools, readBools, readByte, readBytes, readBytes, readChar, readChars, readChars, readDouble, readDoubles, readDoubles, readField, readFloat, readFloats, readFloats, readInt, readInts, readInts, readLong, readLongs, readLongs, readMapB, readMapE, readNextTag, readNextTag, readObjectB, readObjectE, readShort, readShorts, readShorts, readStandardString, readStrings, readStrings, readTag, readType, setBytes, setBytes, skipValue
 
- 
 
- 
- 
- 
构造器详细资料- 
ProtobufByteBufferReaderprotected ProtobufByteBufferReader() 
 - 
ProtobufByteBufferReaderprotected ProtobufByteBufferReader(ByteBuffer... buffers) 
 
- 
 - 
方法详细资料- 
recycleprotected boolean recycle() - 覆盖:
- recycle在类中- ProtobufReader
 
 - 
nextByteprotected byte nextByte() 
 - 
nextBytesprotected byte[] nextBytes(int size) 
 - 
remainBytespublic byte[] remainBytes() - 覆盖:
- remainBytes在类中- ProtobufReader
 
 - 
hasNextpublic boolean hasNext() 从类复制的说明:Reader是否还存在下个元素或字段- 覆盖:
- hasNext在类中- ProtobufReader
- 返回:
- 是否还存在下个元素或字段
 
 - 
readBooleanpublic final boolean readBoolean() 从类复制的说明:Reader读取一个boolean值- 覆盖:
- readBoolean在类中- ProtobufReader
- 返回:
- boolean值
 
 - 
readStringpublic final String readString() 从类复制的说明:Reader读取一个String值- 覆盖:
- readString在类中- ProtobufReader
- 返回:
- String值
 
 - 
readByteArraypublic final byte[] readByteArray() 从类复制的说明:Reader读取byte[]- 覆盖:
- readByteArray在类中- ProtobufReader
- 返回:
- byte[]
 
 - 
readRawVarint32protected final int readRawVarint32() - 覆盖:
- readRawVarint32在类中- ProtobufReader
 
 - 
readRawVarint64protected final long readRawVarint64() - 覆盖:
- readRawVarint64在类中- ProtobufReader
 
 - 
readRawVarint64SlowPathprotected final long readRawVarint64SlowPath() 
 - 
readRawLittleEndian32protected final int readRawLittleEndian32() - 覆盖:
- readRawLittleEndian32在类中- ProtobufReader
 
 - 
readRawLittleEndian64protected final long readRawLittleEndian64() - 覆盖:
- readRawLittleEndian64在类中- ProtobufReader
 
 
- 
 
-