aboutsummaryrefslogtreecommitdiff
path: root/zencore/include
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-10-21 08:21:45 +0200
committerGitHub <[email protected]>2021-10-21 08:21:45 +0200
commita63dc510c62830382f243e965be45b705d396879 (patch)
tree63799eb1b05788c93a177a422a94af670aa77b84 /zencore/include
parentAdded missing include. (diff)
downloadzen-a63dc510c62830382f243e965be45b705d396879.tar.xz
zen-a63dc510c62830382f243e965be45b705d396879.zip
Compressed oplog attachments
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.
*