Wes McKinney created ARROW-3782:
-----------------------------------
Summary: [C++] Implement BufferedReader for C++
Key: ARROW-3782
URL: https://issues.apache.org/jira/browse/ARROW-3782
Project: Apache Arrow
Issue Type: New Feature
Components: C++
Reporter: Wes McKinney
Fix For: 0.12.0
This will be the reader companion to {{arrow::io::BufferedOutputStream}} and a
C++-like version of the {{io.BufferedReader}} class in the Python standard
library
https://docs.python.org/3/library/io.html#io.BufferedReader
We already have a partial version of this that's used in the Parquet library
https://github.com/apache/arrow/blob/master/cpp/src/parquet/util/memory.h#L413
In particular we need
* Seek implemented for random access (it will invalidate the buffer)
* Peek method returning {{shared_ptr<Buffer>}}, a zero copy view into buffered
memory
This is needed for ARROW-3126
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)