Remove unused stream methods

They were accidentally left unused in fbad8a9 so they haven't been used
in some time.
This commit is contained in:
Pierre Ossman
2020-05-15 19:23:56 +02:00
committed by Lauri Kasanen
parent c97828471c
commit 910fd8fa3e
3 changed files with 1 additions and 35 deletions

View File

@@ -41,12 +41,6 @@ namespace rdr {
delete [] start;
}
void writeBytes(const void* data, size_t length) {
check(length);
memcpy(ptr, data, length);
ptr += length;
}
size_t length() { return ptr - start; }
void clear() { ptr = start; };
void clearAndZero() { memset(start, 0, ptr-start); clear(); }