summaryrefslogtreecommitdiff
path: root/src/ByteArrayDiskWriter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ByteArrayDiskWriter.h')
-rw-r--r--src/ByteArrayDiskWriter.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ByteArrayDiskWriter.h b/src/ByteArrayDiskWriter.h
index c5abe81c..ee522e4f 100644
--- a/src/ByteArrayDiskWriter.h
+++ b/src/ByteArrayDiskWriter.h
@@ -32,12 +32,10 @@ private:
void init();
void clear();
- void expandBuffer(int newSize);
public:
ByteArrayDiskWriter();
virtual ~ByteArrayDiskWriter();
-
virtual void initAndOpenFile(string filename);
virtual void openFile(const string& filename);
@@ -48,8 +46,7 @@ public:
// position is ignored
virtual void writeData(const char* data, int len, long long int position = 0);
- // not implemented yet
- virtual int readData(char* data, int len, long long int position) { return 0; }
+ virtual int readData(char* data, int len, long long int position);
// not implemented yet
virtual string sha1Sum(long long int offset, long long int length) { return ""; }