packagefs: CachedDataReader: Don't implement ReadData()
It's already done the same way in the base class.
This commit is contained in:
parent
0dab9e5cb4
commit
60ccc119b0
@ -123,14 +123,6 @@ CachedDataReader::Init(BAbstractBufferedDataReader* reader, off_t size)
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
CachedDataReader::ReadData(off_t offset, void* buffer, size_t size)
|
||||
{
|
||||
BMemoryIO output(buffer, size);
|
||||
return ReadDataToOutput(offset, size, &output);
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
CachedDataReader::ReadDataToOutput(off_t offset, size_t size,
|
||||
BDataIO* output)
|
||||
|
@ -26,8 +26,6 @@ public:
|
||||
status_t Init(BAbstractBufferedDataReader* reader,
|
||||
off_t size);
|
||||
|
||||
virtual status_t ReadData(off_t offset, void* buffer,
|
||||
size_t size);
|
||||
virtual status_t ReadDataToOutput(off_t offset, size_t size,
|
||||
BDataIO* output);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user