Class OStreamSink
Defined in File serializers.cpp
Base Type
public cudf::io::data_sink
-
class OStreamSink : public cudf::io::data_sink
-
Public Functions
- inline OStreamSink(std::ostream &stream)
-
inline void host_write(void const *data, size_t size) override
Append the buffer content to the sink.
- Parameters
data – [in] Pointer to the buffer to be written into the sink object
size – [in] Number of bytes to write
- Returns
void
- 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.
- Returns
size_t Total number of bytes written into this sink