12#ifndef ROOT_RRawFileWin
13#define ROOT_RRawFileWin
35 void Seek(
long offset,
int whence);
39 size_t ReadAtImpl(
void *buffer,
size_t nbytes, std::uint64_t offset) final;
RRawFileWin(std::string_view url, RRawFile::ROptions options)
size_t ReadAtImpl(void *buffer, size_t nbytes, std::uint64_t offset) final
Derived classes should implement low-level reading without buffering.
std::unique_ptr< RRawFile > Clone() const final
Create a new RawFile that accesses the same resource. The file pointer is reset to zero.
std::uint64_t GetSizeImpl() final
Derived classes should return the file size.
void Seek(long offset, int whence)
void OpenImpl() final
OpenImpl() is called at most once and before any call to either DoReadAt or DoGetSize.
RRawFile(std::string_view url, ROptions options)
On construction, an ROptions parameter can customize the RRawFile behavior.