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

Method Create

cpp/src/arrow/io/buffered.cc:207–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207Result<std::shared_ptr<BufferedOutputStream>> BufferedOutputStream::Create(
208 int64_t buffer_size, MemoryPool* pool, std::shared_ptr<OutputStream> raw) {
209 auto result = std::shared_ptr<BufferedOutputStream>(
210 new BufferedOutputStream(std::move(raw), pool));
211 RETURN_NOT_OK(result->SetBufferSize(buffer_size));
212 return result;
213}
214
215BufferedOutputStream::~BufferedOutputStream() { internal::CloseFromDestructor(this); }
216

Callers

nothing calls this directly

Calls 1

SetBufferSizeMethod · 0.45

Tested by

no test coverage detected