mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-01-24 08:53:04 +00:00
ZoneLoading: Simulate the vanilla edge case that the chunk size is in the end of the loadbuffer and cannot quite fit into it so the space is padded and the chunk size is loaded from the beginning of the buffer
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
class ILoadingStream
|
||||
{
|
||||
public:
|
||||
virtual ~ILoadingStream() = default;
|
||||
|
||||
virtual size_t Load(void* buffer, size_t length) = 0;
|
||||
virtual int64_t Pos() = 0;
|
||||
};
|
||||
Reference in New Issue
Block a user