#ifndef __LUCENE_STORE_INDEX_INPUT__ #define __LUCENE_STORE_INDEX_INPUT__ #include /** Read a file content */ @interface LCIndexInput: NSObject { } /** Read a four-bytes Int */ - (long) readInt; /** Read a four-byte VInt */ - (long) readVInt; /** Read a eight-byte Long */ - (long long) readLong; /** Read a eight-byte VLong */ - (long long) readVLong; /** Read a string */ - (NSString *) readString; /** Read string into buffer */ - (void) readChars: (NSMutableString *) buffer start: (int) start length: (int) length; /** Read a byte */ - (char) readByte; /** Read bytes, start at offset in b */ - (void) readBytes: (NSMutableData *) b offset: (int) offset length: (int) len; /** Close file */ - (void) close; /** Offset in file */ - (unsigned long long) offsetInFile; // filePointer /** Seek to offset in file */ - (void) seekToFileOffset: (unsigned long long) pos; // -seek: /** Length of file */ - (unsigned long long) length; @end #endif /* __LUCENE_STORE_INDEX_INPUT__ */