handler::error_code handler::init(vfsStream& stream) { m_stream_offset = stream.Tell(); m_stream = &stream; return ok; }
static void GoToNN(vfsStream& f) { while(!f.Eof()) { char c; f.Read(&c, 1); if(c != 0) { f.Seek(f.Tell() - 1); break; } } }