Igor Anić d995029844 add BufferedTee
BufferedTee provides reader interface to the consumer. Data read by consumer
is also written to the output. Output is hold lookahead_size bytes behind
consumer. Allowing consumer to put back some bytes to be read again. On flush
all consumed bytes are flushed to the output.

      input   ->   tee   ->   consumer
                    |
                 output

input - underlying unbuffered reader
output - writer, receives data read by consumer
consumer - uses provided reader interface

If lookahead_size is zero output always has same bytes as consumer.
2024-02-21 20:01:45 +01:00
..
2024-02-14 19:26:12 -08:00
2024-02-21 20:01:45 +01:00
2024-02-01 15:22:36 +02:00
2024-01-13 19:37:33 -07:00
2024-02-19 10:12:17 +02:00
2023-11-22 13:24:27 -05:00
2023-11-22 19:08:55 -07:00
2023-10-23 22:42:18 -04:00
2024-02-12 05:25:07 +01:00
2024-02-01 15:22:36 +02:00
2024-02-05 11:55:14 +03:30
2024-02-21 20:01:45 +01:00
2023-10-25 04:28:30 -04:00
2024-02-09 14:02:57 -08:00
2024-01-24 12:48:12 +01:00
2024-01-14 20:45:39 -05:00
2024-02-01 15:22:36 +02:00
2023-11-03 23:18:21 -04:00
2024-02-01 15:22:36 +02:00
2024-02-07 12:41:40 +02:00
2024-02-08 15:39:28 +01:00
2024-02-05 11:55:14 +03:30
2023-10-21 21:24:55 +00:00