12 #include "filesystem/UDFBlockInput.h" 17 typedef struct udfread_file UDFFILE;
28 bool Open(
const CURL& url)
override;
29 void Close()
override;
31 int Stat(
const CURL& url,
struct __stat64* buffer)
override;
33 ssize_t
Read(
void* buffer,
size_t size)
override;
34 int64_t Seek(int64_t filePosition,
int whence)
override;
36 int64_t GetLength()
override;
37 int64_t GetPosition()
override;
39 bool Exists(
const CURL& url)
override;
42 std::unique_ptr<CUDFBlockInput> m_bi{
nullptr};
44 udfread* m_udf{
nullptr};
45 UDFFILE* m_file{
nullptr};
ssize_t Read(void *buffer, size_t size) override
Attempt to read bufSize bytes from currently opened file into buffer bufPtr.
Definition: UDFFile.cpp:82
int Stat(const CURL &url, struct __stat64 *buffer) override
Fills struct __stat64 with information about file specified by url.
Definition: UDFFile.cpp:71