export Bytes type through DataRowBody::storage_bytes method.

This commit is contained in:
fakeshadow 2023-02-24 09:56:05 +08:00
parent 4bae134f50
commit eb086d30a3

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> {