tustvold commented on code in PR #3818:
URL: https://github.com/apache/arrow-rs/pull/3818#discussion_r1129971410
##########
arrow-buffer/src/buffer/offset.rs:
##########
@@ -39,6 +39,21 @@ impl<O: ArrowNativeType> OffsetBuffer<O> {
let buffer = MutableBuffer::from_len_zeroed(std::mem::size_of::<O>());
Self(buffer.into_buffer().into())
}
+
+ /// Returns the inner [`ScalarBuffer`]
+ pub fn inner(&self) -> &ScalarBuffer<O> {
+ &self.0
+ }
+
+ /// Returns the inner [`Buffer`]
Review Comment:
```suggestion
/// Returns the inner [`ScalarBuffer`]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]