65class
IOBuf final : public io::InputStream, public io::PeekableStream {
68 using Node = std::unique_ptr<IOBufNode>;
82 [[nodiscard]]
size_t getTotalSize() const noexcept;
88 int64_t
read(
void *
buffer,
size_t length) override;
94 int64_t peek(
void *
buffer,
size_t length) override;
99 int64_t trunc(
size_t length) override;