15#include "IInputStream.h"
26 FILE* mFile =
nullptr;
29 AFileInputStream(
const AString& path);
30 virtual ~AFileInputStream();
32 AFileInputStream(AFileInputStream&& rhs)
noexcept {
33 operator=(std::move(rhs));
35 AFileInputStream& operator=(AFileInputStream&& rhs)
noexcept {
41 FILE* nativeHandle()
const {
62 void seek(std::streamoff offset, Seek dir)
noexcept;
63 void seek(std::streampos pos)
noexcept;
64 std::streampos tell() noexcept;
66 std::
size_t size() noexcept {
67 auto current = tell();
70 seek(current, Seek::BEGIN);
74 std::size_t
read(
char* dst,
size_t size)
override;
Represents a Unicode character string.
Definition AString.h:37