* Constructs a stream that works with an internal buffer. * * @param buflen Initial size of the internal buffer. */
| 95 | * @param buflen Initial size of the internal buffer. |
| 96 | */ |
| 97 | inline TBufferStream(size_t buflen = 1024) |
| 98 | : TBufferOutput(buflen) |
| 99 | , TBufferInput(TBufferOutput::Buffer()) |
| 100 | { |
| 101 | } |
| 102 | |
| 103 | /** |
| 104 | * Constructs a stream that works with the provided buffer. |