Sese Framework
x.y.z
A cross-platform framework
|
标准库输入包装流 更多...
#include <FakeStream.h>
Public 成员函数 | |
StdInputStreamWrapper (std::istream &stream) | |
int64_t | read (void *buffer, size_t length) override |
int64_t | peek (void *buffer, size_t length) override |
int64_t | trunc (size_t length) override |
Public 成员函数 继承自 sese::io::InputStream | |
virtual | ~InputStream () noexcept=default |
Public 成员函数 继承自 sese::io::PeekableStream | |
virtual | ~PeekableStream ()=default |
Private 属性 | |
std::istream & | stream |
额外继承的成员函数 | |
Public 类型 继承自 sese::io::InputStream | |
typedef std::shared_ptr< InputStream > | Ptr |
Public 类型 继承自 sese::io::PeekableStream | |
typedef std::shared_ptr< PeekableStream > | Ptr |
标准库输入包装流
|
explicit |
|
overridevirtual |
窥视一定字节数
buffer | 缓存 |
length | 缓存大小 |
|
overridevirtual |
|
overridevirtual |
步进一定字节数
length | 步进大小 |
|
private |