mapleFU commented on code in PR #37360:
URL: https://github.com/apache/arrow/pull/37360#discussion_r1309874411
##########
cpp/src/arrow/io/memory.h:
##########
@@ -145,14 +145,28 @@ class ARROW_EXPORT FixedSizeBufferWriter : public
WritableFile {
class ARROW_EXPORT BufferReader
: public internal::RandomAccessFileConcurrencyWrapper<BufferReader> {
public:
+ /// \brief Instantiate from std::shared_ptr<Buffer>.
+ /// User should guarantee that the buffer live longer than the BufferReader
and
+ /// zero-copy Buffer result.
Review Comment:
Fixed
--
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]