ZeroCopyReturnValue: Add GetHandle()

This commit is contained in:
2026-02-28 20:59:03 +01:00
parent 7f416b0956
commit c92afa95fb
2 changed files with 5 additions and 0 deletions

View File

@@ -42,3 +42,7 @@ void ZeroCopyReturnValue::SetIndexed(bool input) {
bool ZeroCopyReturnValue::IsIndexed() const {
return indexed;
}
uint32_t ZeroCopyReturnValue::GetHandle() const {
return handle;
}

View File

@@ -23,6 +23,7 @@ public:
void SetIndexed(bool input);
void *GetImage() const;
[[nodiscard]] uint32_t GetHandle() const;
[[nodiscard]] size_t GetImageSize() const;
[[nodiscard]] int64_t GetImageNumber() const;
[[nodiscard]] bool IsIndexed() const;