net.yura.mobile.io
Class ProtoFileUtil

java.lang.Object
  extended by net.yura.mobile.io.ProtoUtil
      extended by net.yura.mobile.io.ProtoFileUtil

public class ProtoFileUtil
extends ProtoUtil

Author:
Yura Mamyrin

Constructor Summary
ProtoFileUtil()
           
 
Method Summary
protected  int computeByteArraySize(Object obj)
           
protected  void encodeByteArray(CodedOutputStream out, Object obj)
           
protected  int getObjectTypeEnum(Object obj)
           
 
Methods inherited from class net.yura.mobile.io.ProtoUtil
computeAnonymousObjectSize, computeHashtableSize, computeObjectSize, computeVectorSize, decodeAnonymousObject, decodeHashtable, decodeObject, decodeVector, encodeAnonymousObject, encodeHashtable, encodeObject, encodeVector, hashtableIsMessage, load, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtoFileUtil

public ProtoFileUtil()
Method Detail

computeByteArraySize

protected int computeByteArraySize(Object obj)
Overrides:
computeByteArraySize in class ProtoUtil

encodeByteArray

protected void encodeByteArray(CodedOutputStream out,
                               Object obj)
                        throws IOException
Overrides:
encodeByteArray in class ProtoUtil
Throws:
IOException

getObjectTypeEnum

protected int getObjectTypeEnum(Object obj)
Overrides:
getObjectTypeEnum in class ProtoUtil