Commits


Panchen Xue authored and Wes McKinney committed 2d649f9a752
ARROW-1623: [C++] Add convenience method to construct Buffer from a string that owns its memory Add static member function Buffer::FromString to create a new buffer that owns its memory from given std::string. The memory is allocated from a given memory pool or the default one if not specified. Author: Panchen Xue <pan.panchen.xue@gmail.com> Author: Wes McKinney <wes.mckinney@twosigma.com> Closes #1518 from xuepanchen/ARROW-1623 and squashes the following commits: e6f7355f [Wes McKinney] clang-format ce18950a [Panchen Xue] Add Buffer::FromString method that takes default memory pool and modify test cast f2c5e3ea [Panchen Xue] ARROW-1623: [C++] Add test case for Buffer::FromString method 2385637c [Panchen Xue] ARROW-1623: [C++] Add Buffer::FromString to construct a buffer that owns its memory from a std::string