org.terrier.compression
Interface BitWritable

All Known Subinterfaces:
BitWritablePosting

public interface BitWritable

Like o.a.h.io.Writable, but for using BitIn and BitOut

Since:
3.0

Method Summary
 int readFields(BitIn in, int numEntries)
          Read in the object to the specified BitIn.
 int writeFields(BitOut out)
          Write the object to the specified BitOut.
 

Method Detail

writeFields

int writeFields(BitOut out)
Write the object to the specified BitOut. The number of entries written is returned


readFields

int readFields(BitIn in,
               int numEntries)
Read in the object to the specified BitIn. The number of entries to read is also required



Terrier 3.5. Copyright © 2004-2011 University of Glasgow