Normalize line endings

This commit contains only the result of `git add --renormalize .`

`git show --ignore-space-change` can verify that this commit only
changes whitespace.
This commit is contained in:
Diomendius
2024-07-31 19:35:12 +12:00
parent bb7b663daf
commit 1b18a87495
822 changed files with 323794 additions and 323794 deletions

View File

@@ -1,22 +1,22 @@
#pragma once
#include <stdint.h>
struct IFileReader
{
public:
typedef int64_t FilePos_t;
typedef uint64_t UFilePos_t;
virtual size_t Read(void *buffer, size_t sz) = 0;
virtual size_t FileSize() const = 0;
virtual bool SeekStart(FilePos_t pos) = 0;
virtual bool SeekCurrent(FilePos_t pos) = 0;
virtual bool SeekEnd(FilePos_t pos) = 0;
virtual FilePos_t GetPosition() const = 0;
inline bool ReadExact(void *buffer, size_t sz)
{
return this->Read(buffer, sz) == sz;
}
};
#pragma once
#include <stdint.h>
struct IFileReader
{
public:
typedef int64_t FilePos_t;
typedef uint64_t UFilePos_t;
virtual size_t Read(void *buffer, size_t sz) = 0;
virtual size_t FileSize() const = 0;
virtual bool SeekStart(FilePos_t pos) = 0;
virtual bool SeekCurrent(FilePos_t pos) = 0;
virtual bool SeekEnd(FilePos_t pos) = 0;
virtual FilePos_t GetPosition() const = 0;
inline bool ReadExact(void *buffer, size_t sz)
{
return this->Read(buffer, sz) == sz;
}
};