MCPcopy Create free account
hub / github.com/apache/arrow / StringViewStream

Method StringViewStream

cpp/src/arrow/filesystem/s3fs.cc:1318–1322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1316class StringViewStream : Aws::Utils::Stream::PreallocatedStreamBuf, public std::iostream {
1317 public:
1318 StringViewStream(const void* data, int64_t nbytes)
1319 : Aws::Utils::Stream::PreallocatedStreamBuf(
1320 reinterpret_cast<unsigned char*>(const_cast<void*>(data)),
1321 static_cast<size_t>(nbytes)),
1322 std::iostream(this) {}
1323};
1324
1325// By default, the AWS SDK reads object data into an auto-growing StringStream.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected