input/buffered: move basic buffering code to class BufferingInputStream

Prepare to reuse it in another class.
This commit is contained in:
Max Kellermann
2019-05-09 11:39:30 +02:00
parent 604d08b2c6
commit 5277297336
5 changed files with 337 additions and 222 deletions

View File

@@ -32,6 +32,7 @@ input_glue = static_library(
'TextInputStream.cxx',
'ProxyInputStream.cxx',
'RewindInputStream.cxx',
'BufferingInputStream.cxx',
'BufferedInputStream.cxx',
'MaybeBufferedInputStream.cxx',
include_directories: inc,