Commit fc68b1bc authored by David COME's avatar David COME
Browse files

MemBlock::read for diskFile now returns the number of bytes read

parent 29a26056
......@@ -63,8 +63,9 @@ public:
return m_payload;
}
void read(tape::diskFile::ReadFile& from){
size_t read(tape::diskFile::ReadFile& from){
m_size = from.read(m_payload,m_capacity);
return m_size;
}
void write(tape::diskFile::WriteFile& to){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment