Package org.ebfhub.fastprotobuf
Class FastProtoReader
java.lang.Object
org.ebfhub.fastprotobuf.FastProtoReader
public class FastProtoReader extends Object
FastProtoReader class.
- Version:
- $Id: $Id
- Author:
- mac
-
Constructor Summary
Constructors Constructor Description FastProtoReader() -
Method Summary
Modifier and Type Method Description FastProtoObjectPoolgetPool()Getter for the fieldpool.voidparse(com.google.protobuf.CodedInputStream is, FastProtoSetter setter)parse.voidreadItem(FastProtoMessage val, byte[] b, int offset, int len)voidreadItem(FastProtoMessage val, com.google.protobuf.CodedInputStream is3)
-
Constructor Details
-
FastProtoReader
public FastProtoReader()
-
-
Method Details
-
getPool
Getter for the field
pool.- Returns:
- a
FastProtoObjectPoolobject.
-
parse
public void parse(com.google.protobuf.CodedInputStream is, FastProtoSetter setter) throws IOExceptionparse.
- Parameters:
is- aCodedInputStreamobject.setter- aFastProtoSetterobject.- Throws:
IOException- if any.
-
readItem
- Throws:
IOException
-
readItem
public void readItem(FastProtoMessage val, com.google.protobuf.CodedInputStream is3) throws IOException- Throws:
IOException
-