X-Git-Url: https://git.pterodactylus.net/?p=ecparse.git;a=blobdiff_plain;f=CollectionReader.h;fp=CollectionReader.h;h=023b226cfd7ca86a17b25302587c6983b82b6f59;hp=770c2a8982890ce1bd994e8fb74d2c11f8c08ab6;hb=e4f9c67cc94df1e370846b19ddedd4365df7b638;hpb=005e134568b5c77ec880481ec66f78b22c1cd6f2 diff --git a/CollectionReader.h b/CollectionReader.h index 770c2a8..023b226 100644 --- a/CollectionReader.h +++ b/CollectionReader.h @@ -10,6 +10,7 @@ #include "GrowingBuffer.h" #include "StringTag.h" #include "BlobTag.h" +#include "HashTag.h" class CollectionReader { @@ -25,8 +26,9 @@ private: bool ensureBufferCapacity(size_t byteCount); void readMoreBytes(); - BlobTag* readBlobTag(bool hader); - StringTag* readStringTag(bool header); + BlobTag* readBlobTag(bool header = false); + StringTag* readStringTag(bool header = false); + HashTag* readHashTag(); private: ReaderInput* readerInput;