- 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.Reader
Reader.ValueType
-
-
字段概要
-
从类继承的字段 org.redkale.convert.pb.ProtobufReader
cacheTag, limit, LIS_CREATOR, position
-
从类继承的字段 org.redkale.convert.Reader
SIGN_NULL, SIGN_VARIABLE
-
-
构造器概要
构造器 限定符 构造器 说明 protected
ProtobufByteBufferReader()
protected
ProtobufByteBufferReader(ByteBuffer... buffers)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 boolean
hasNext()
是否还存在下个元素或字段protected byte
nextByte()
protected byte[]
nextBytes(int size)
boolean
readBoolean()
读取一个boolean值byte[]
readByteArray()
读取byte[]protected int
readRawLittleEndian32()
protected long
readRawLittleEndian64()
protected int
readRawVarint32()
protected long
readRawVarint64()
protected long
readRawVarint64SlowPath()
String
readString()
读取一个String值protected boolean
recycle()
byte[]
remainBytes()
-
从类继承的方法 org.redkale.convert.pb.ProtobufReader
backTag, 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
-
-
-
-
构造器详细资料
-
ProtobufByteBufferReader
protected ProtobufByteBufferReader()
-
ProtobufByteBufferReader
protected ProtobufByteBufferReader(ByteBuffer... buffers)
-
-
方法详细资料
-
recycle
protected boolean recycle()
- 覆盖:
recycle
在类中ProtobufReader
-
nextByte
protected byte nextByte()
-
nextBytes
protected byte[] nextBytes(int size)
-
remainBytes
public byte[] remainBytes()
- 覆盖:
remainBytes
在类中ProtobufReader
-
hasNext
public boolean hasNext()
从类复制的说明:Reader
是否还存在下个元素或字段- 覆盖:
hasNext
在类中ProtobufReader
- 返回:
- 是否还存在下个元素或字段
-
readBoolean
public final boolean readBoolean()
从类复制的说明:Reader
读取一个boolean值- 覆盖:
readBoolean
在类中ProtobufReader
- 返回:
- boolean值
-
readString
public final String readString()
从类复制的说明:Reader
读取一个String值- 覆盖:
readString
在类中ProtobufReader
- 返回:
- String值
-
readByteArray
public final byte[] readByteArray()
从类复制的说明:Reader
读取byte[]- 覆盖:
readByteArray
在类中ProtobufReader
- 返回:
- byte[]
-
readRawVarint32
protected final int readRawVarint32()
- 覆盖:
readRawVarint32
在类中ProtobufReader
-
readRawVarint64
protected final long readRawVarint64()
- 覆盖:
readRawVarint64
在类中ProtobufReader
-
readRawVarint64SlowPath
protected final long readRawVarint64SlowPath()
-
readRawLittleEndian32
protected final int readRawLittleEndian32()
- 覆盖:
readRawLittleEndian32
在类中ProtobufReader
-
readRawLittleEndian64
protected final long readRawLittleEndian64()
- 覆盖:
readRawLittleEndian64
在类中ProtobufReader
-
-