Sese Framework  x.y.z
A cross-platform framework
载入中...
搜索中...
未找到
sese::io::Stream类 参考

流式接口类 更多...

#include <Stream.h>

类 sese::io::Stream 继承关系图:
sese::io::InputStream sese::io::OutputStream sese::io::AbstractByteBuffer sese::io::AbstractFixedBuffer sese::io::BufferedStream sese::io::FakeStream< T > sese::io::FileStream sese::net::Socket sese::io::ByteBuffer sese::io::ByteBuilder sese::io::FixedBuffer sese::io::FixedBuilder sese::io::ClosableFakeStream< T > sese::security::SecuritySocket

Public 类型

typedef std::shared_ptr< StreamPtr
 
- Public 类型 继承自 sese::io::InputStream
typedef std::shared_ptr< InputStreamPtr
 
- Public 类型 继承自 sese::io::OutputStream
typedef std::shared_ptr< OutputStreamPtr
 

额外继承的成员函数

- Public 成员函数 继承自 sese::io::InputStream
virtual ~InputStream () noexcept=default
 
virtual int64_t read (void *buffer, size_t length)=0
 
- Public 成员函数 继承自 sese::io::OutputStream
virtual ~OutputStream () noexcept=default
 
virtual int64_t write (const void *buffer, size_t length)=0
 
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)
 

详细描述

流式接口类

成员类型定义说明

◆ Ptr

typedef std::shared_ptr<Stream> sese::io::Stream::Ptr

该类的文档由以下文件生成: