2 * © 2008 by David Roden <droden@gmail.com>
8 #include "ReaderInput.h"
10 #include "GrowingBuffer.h"
11 #include "StringTag.h"
14 class CollectionReader {
17 CollectionReader(ReaderInput* readerInput);
20 ED2KLink* getNextLink();
23 void identifyCollectionType();
24 bool isLineBreakPresent();
25 bool ensureBufferCapacity(size_t byteCount);
28 BlobTag* readBlobTag(bool hader);
29 StringTag* readStringTag(bool header);
32 ReaderInput* readerInput;
33 GrowingBuffer growingBuffer;
36 bool isTextCollection;
37 uint32_t fileCollectionCount;
38 uint32_t collectionFileIndex;