Added Hasher::Number()

This commit is contained in:
Sergey Kosarevsky 2016-02-28 18:28:19 +01:00
parent eeb13bdb4c
commit 334461b421

View File

@ -183,6 +183,11 @@ public:
return WriteNumber(n); return WriteNumber(n);
} }
bool Number(const Ch* str, SizeType len, bool) {
WriteBuffer(kNumberType, str, len * sizeof(Ch));
return true;
}
bool String(const Ch* str, SizeType len, bool) { bool String(const Ch* str, SizeType len, bool) {
WriteBuffer(kStringType, str, len * sizeof(Ch)); WriteBuffer(kStringType, str, len * sizeof(Ch));
return true; return true;