mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-21 17:10:35 +00:00
buffer_input_stream is a simple input_stream wrapping a single temporary_buffer. prepended_input_stream suits for the case when some data has been read into a buffer and the rest is still in a stream. It accepts a buffer and a data_source and first reads from the buffer and then, when it ends, proceeds reading from the data_source. Signed-off-by: Vladimir Krivopalov <vladimir@scylladb.com>
1.1 KiB
1.1 KiB