Sese Framework
x.y.z
A cross-platform framework
|
伪装流 更多...
#include <FakeStream.h>
Public 成员函数 | |
FakeStream (T *t) | |
int64_t | read (void *buffer, size_t length) override |
int64_t | write (const void *buffer, size_t length) override |
Public 成员函数 继承自 sese::io::InputStream | |
virtual | ~InputStream () noexcept=default |
Public 成员函数 继承自 sese::io::OutputStream | |
virtual | ~OutputStream () noexcept=default |
int64_t | write (const std::string_view &buffer) |
int64_t | write (const text::StringView &buffer) |
template<typename T > | |
int64_t | write (std::vector< T > &buffer) |
template<typename T , size_t N> | |
int64_t | write (std::array< T, N > &buffer) |
Protected 属性 | |
T * | t |
额外继承的成员函数 | |
Public 类型 继承自 sese::io::Stream | |
typedef std::shared_ptr< Stream > | Ptr |
Public 类型 继承自 sese::io::InputStream | |
typedef std::shared_ptr< InputStream > | Ptr |
Public 类型 继承自 sese::io::OutputStream | |
typedef std::shared_ptr< OutputStream > | Ptr |
伪装流
T | 包装类型 |
|
inlineexplicit |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
protected |