return static_cast<unsigned char>(*pos++);
}
-unsigned Memory::seek(int off, SeekType type)
+SeekOffset Memory::seek(SeekOffset off, SeekType type)
{
char *new_pos;
if(type==S_BEG)
return pos-begin;
}
-const Handle &Memory::get_event_handle()
-{
- throw logic_error("Memory doesn't support events");
-}
-
void Memory::check_mode(Mode m) const
{
if(m==M_WRITE && !(mode&M_WRITE))