Go to the documentation of this file.
9 #ifndef __Rubik__DiskBitFile__
10 #define __Rubik__DiskBitFile__
28 void Init(
const std::vector<bucketData> &buckets);
35 uint8_t *
ReadChunk(
int bucket, int64_t offset,
int numEntries, uint8_t *data);
const char * getBucketFileName(int bucket, int subBucket)
int64_t cacheFilePosition
void CloseReadWriteFile()
void WriteFileDepth(int bucket, int64_t offset, uint8_t value)
uint64_t GetBytesWritten() const
int ReadFileDepth(int bucket, int64_t offset)
DiskBitFile(const char *pre)
void Init(const std::vector< bucketData > &buckets)
uint64_t GetBytesRead() const
uint8_t * ReadChunk(int bucket, int64_t offset, int numEntries, uint8_t *data)
const static int subBucketBits
const static int64_t cacheSize