Defined in File serializers.cpp
class OStreamSink : public cudf::io::data_sink
inline OStreamSink(std::ostream &stream)
inline void host_write(void const *data, size_t size) override
Append the buffer content to the sink.
data – [in] Pointer to the buffer to be written into the sink object
size – [in] Number of bytes to write
inline void flush() override
Flush the data written into the sink.
inline size_t bytes_written() override
Returns the total number of bytes written into this sink.
size_t Total number of bytes written into this sink
- inline OStreamSink(std::ostream &stream)