Boost C++ 库

...世界上最受推崇、设计最精湛的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ Coding Standards

buffered_read_stream::peek (1 of 2 overloads) - Boost C++ 函数库
PrevUpHomeNext

查看流中的传入数据。返回读取的字节数。失败时抛出异常。

template<
    typename MutableBufferSequence>
std::size_t peek(
    const MutableBufferSequence & buffers);

PrevUpHomeNext