Merge pull request #1000 from fakeshadow/protocol/export_bytes

export Bytes type through DataRowBody::storage_bytes method.
This commit is contained in:
Steven Fackler 2023-02-26 16:43:47 -05:00 committed by GitHub
commit 3007dd82c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -544,6 +544,11 @@ impl DataRowBody {
pub fn buffer(&self) -> &[u8] {
&self.storage
}
#[inline]
pub fn storage_bytes(&self) -> &Bytes {
&self.storage
}
}
pub struct DataRowRanges<'a> {