XiangpengHao commented on code in PR #6930:
URL: https://github.com/apache/arrow-rs/pull/6930#discussion_r1904432071
##########
arrow-buffer/src/buffer/immutable.rs:
##########
@@ -79,6 +79,21 @@ impl Buffer {
}
}
+ /// Auxiliary method to create a new Buffer
+ ///
+ /// This is convenient for converting a [`bytes::Bytes`] to a [`Buffer`]
without copying.
Review Comment:
Sounds great! Let's wait #6939 to be merged and I'll rebase to that commit
--
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]