![]() |
Lysa
0.0
Lysa 3D Engine
|
A custom std::streambuf that reads a bounded region of a pack file.
Provides a buffered, seekable stream over a contiguous byte range within a ResourcesPack file, enabling standard std::istream usage without extracting the resource to memory first.
Inheritance diagram for ResourcesPackStreambuf:Public Member Functions | |
| ResourcesPackStreambuf (std::ifstream &file, const uint64 offset, const uint64 size, const std::size_t bufSize=DEFAULT_BUF_SIZE) | |
Static Public Attributes | |
| static constexpr std::size_t | DEFAULT_BUF_SIZE = 4096 |
Protected Member Functions | |
| int_type | underflow () override |
|
inline |
|
inlineoverrideprotected |
|
staticconstexpr |