33 virtual ErrorCode DoRead(
void* a_buffer, std::uint64_t a_toRead, std::uint64_t& a_read)
const = 0;
34 virtual ErrorCode DoWrite(
const void* a_buffer, std::uint64_t a_toWrite, std::uint64_t& a_written)
const = 0;
40 static_assert(
sizeof(
Stream) == 0x10);
Definition StreamBase.h:13
virtual ErrorCode DoCreateAsync(BSTSmartPointer< AsyncStream > &a_streamOut) const
Stream(std::uint32_t a_totalSize)
Stream(const Stream &a_rhs)
virtual ErrorCode DoSeek(std::uint64_t a_toSeek, SeekMode a_mode, std::uint64_t &a_sought) const =0
virtual void DoClone(BSTSmartPointer< Stream > &a_out) const =0
static constexpr auto RTTI
Definition Stream.h:23
virtual bool DoGetName(BSFixedString &a_dst) const
virtual ErrorCode DoRead(void *a_buffer, std::uint64_t a_toRead, std::uint64_t &a_read) const =0
~Stream() override=default
virtual ErrorCode DoWrite(const void *a_buffer, std::uint64_t a_toWrite, std::uint64_t &a_written) const =0
virtual ErrorCode DoSetEndOfStream()
Definition BSTSmartPointer.h:36
ErrorCode
Definition ErrorCodes.h:8
SeekMode
Definition Stream.h:14
Definition AbsorbEffect.h:6
constexpr REL::VariantID RTTI_BSResource__Stream(690344, 398199, 0x1f60350)