23 bool good()
const override;
24 void seek(std::int32_t a_numBytes)
override;
29 virtual void seek(std::int32_t a_offset, std::int32_t a_from);
30 [[nodiscard]]
virtual std::uint32_t
size()
const;
44 static_assert(
sizeof(
NiFile) == 0x48);
Definition: NiBinaryStream.h:6
char * buffer
Definition: NiFile.h:37
virtual std::uint32_t size() const
OpenMode
Definition: NiFile.h:14
std::uint32_t pos
Definition: NiFile.h:35
bool isGood
Definition: NiFile.h:40
std::uint16_t pad46
Definition: NiFile.h:42
bool good() const override
void seek(std::int32_t a_numBytes) override
void set_endian_swap(bool a_doSwap) override
virtual void seek(std::int32_t a_offset, std::int32_t a_from)
std::FILE * file
Definition: NiFile.h:38
std::uint32_t bufferReadSize
Definition: NiFile.h:34
std::uint32_t pad2C
Definition: NiFile.h:36
static constexpr auto RTTI
Definition: NiFile.h:10
std::uint8_t pad45
Definition: NiFile.h:41
static constexpr auto VTABLE
Definition: NiFile.h:11
REX::EnumSet< OpenMode, std::uint32_t > mode
Definition: NiFile.h:39
void get_info(BufferInfo &a_buf) override
std::uint32_t bufferAllocSize
Definition: NiFile.h:33
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_NiFile
Definition: Offsets_VTABLE.h:12203
constexpr REL::ID RTTI_NiFile(static_cast< std::uint64_t >(690321))
Definition: NiBinaryStream.h:16