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:
committed by
Lauri Kasanen
parent
c97828471c
commit
910fd8fa3e
@@ -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(); }
|
||||
|
||||
Reference in New Issue
Block a user