Merge pull request #1000 from fakeshadow/protocol/export_bytes
export Bytes type through DataRowBody::storage_bytes method.
This commit is contained in:
commit
3007dd82c6
@ -544,6 +544,11 @@ impl DataRowBody {
|
|||||||
pub fn buffer(&self) -> &[u8] {
|
pub fn buffer(&self) -> &[u8] {
|
||||||
&self.storage
|
&self.storage
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[inline]
|
||||||
|
pub fn storage_bytes(&self) -> &Bytes {
|
||||||
|
&self.storage
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct DataRowRanges<'a> {
|
pub struct DataRowRanges<'a> {
|
||||||
|
Loading…
Reference in New Issue
Block a user