Package org.ebfhub.fastprotobuf
Class FastProtoWriter
java.lang.Object
org.ebfhub.fastprotobuf.FastProtoWriter
public class FastProtoWriter extends Object
FastProtoWriter class.
- Version:
- $Id: $Id
- Author:
- mac
-
Constructor Summary
Constructors Constructor Description FastProtoWriter() -
Method Summary
Modifier and Type Method Description voidwriteMessage(int field, com.google.protobuf.CodedOutputStream os, int i)writeMessage.voidwriteMessage(int field, com.google.protobuf.CodedOutputStream os, FastProtoWritable w)writeMessage.voidwriteString(int field, com.google.protobuf.CodedOutputStream os, CharSequence str)writeString.
-
Constructor Details
-
FastProtoWriter
public FastProtoWriter()
-
-
Method Details
-
writeString
public void writeString(int field, com.google.protobuf.CodedOutputStream os, CharSequence str) throws IOExceptionwriteString.
- Parameters:
field- a int.os- aCodedOutputStreamobject.str- aCharSequenceobject.- Throws:
IOException- if any.
-
writeMessage
public void writeMessage(int field, com.google.protobuf.CodedOutputStream os, int i) throws IOExceptionwriteMessage.
- Parameters:
field- a int.os- aCodedOutputStreamobject.i- a int.- Throws:
IOException- if any.
-
writeMessage
public void writeMessage(int field, com.google.protobuf.CodedOutputStream os, FastProtoWritable w) throws IOExceptionwriteMessage.
- Parameters:
field- a int.os- aCodedOutputStreamobject.w- aFastProtoWritableobject.- Throws:
IOException- if any.
-