30 #include "cge/general.h" 31 #include "common/stream.h" 38 #define kBtInnerCount ((kBtSize - 4 ) / (kBtKeySize + 2 )) 39 #define kBtLeafCount ((kBtSize - 4 ) / (kBtKeySize + 4 + 2 )) 40 #define kBtValNone 0xFFFF 42 #define kCatName "VOL.CAT" 43 #define kDatName "VOL.DAT" 46 char _key[kBtKeySize];
52 uint8 _key[kBtKeySize];
65 uint8 _data[kBtSize - 4];
67 Inner _inner[kBtInnerCount];
82 BtPage *getPage(
int level, uint16 pageId);
83 uint16 catRead(byte *buf, uint16 length);
86 void XCrypt(byte *buf, uint16 length);
91 uint16 read(byte *buf, uint16 length);
92 bool seek(int32 offs,
int whence = SEEK_SET);
95 bool exist(
const char *name);
107 bool seek(int32 offset);
110 uint32 read(byte *dataPtr, uint32 dataSize);
In find(In first, In last, const T &v)
Definition: algorithm.h:225