aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-10-21 14:17:18 +0200
committerStefan Boberg <[email protected]>2021-10-21 14:17:18 +0200
commitefd06036c133654a1799f398345fd1bb3cc632b6 (patch)
treedc81e110be0aa8cb025662860843f7f4997f790a /zencore/include
parentMerge branch 'main' into gc (diff)
parentzenserver: Tweaked state initialization so we know when we're running for the... (diff)
downloadzen-efd06036c133654a1799f398345fd1bb3cc632b6.tar.xz
zen-efd06036c133654a1799f398345fd1bb3cc632b6.zip
Merged from main
Diffstat (limited to 'zencore/include')
-rw-r--r--zencore/include/zencore/compress.h2
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.
*