diff options
| author | Stefan Boberg <[email protected]> | 2021-10-21 14:17:18 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-10-21 14:17:18 +0200 |
| commit | efd06036c133654a1799f398345fd1bb3cc632b6 (patch) | |
| tree | dc81e110be0aa8cb025662860843f7f4997f790a /zencore/include | |
| parent | Merge branch 'main' into gc (diff) | |
| parent | zenserver: Tweaked state initialization so we know when we're running for the... (diff) | |
| download | zen-efd06036c133654a1799f398345fd1bb3cc632b6.tar.xz zen-efd06036c133654a1799f398345fd1bb3cc632b6.zip | |
Merged from main
Diffstat (limited to 'zencore/include')
| -rw-r--r-- | zencore/include/zencore/compress.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zencore/include/zencore/compress.h b/zencore/include/zencore/compress.h index 426b4981a..d37ecfa79 100644 --- a/zencore/include/zencore/compress.h +++ b/zencore/include/zencore/compress.h @@ -105,6 +105,8 @@ public: /** Returns the hash of the raw data. Zero on error or if this is null. */ [[nodiscard]] ZENCORE_API BLAKE3 GetRawHash() const; + [[nodiscard]] ZENCORE_API CompressedBuffer CopyRange(uint64_t RawOffset, uint64_t RawSize = ~uint64_t(0)) const; + /** * Returns the compressor and compression level used by this buffer. * |