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

可窥视流接口 更多...

#include <PeekableStream.h>

类 sese::io::PeekableStream 继承关系图:
sese::_windows::iocp::v1::NativeContext sese::io::AbstractByteBuffer sese::io::AbstractFixedBuffer sese::io::FileStream sese::io::InputBufferWrapper sese::io::StdInputStreamWrapper sese::iocp::IOBuf sese::iocp::v1::Context sese::net::Socket sese::res::ResourceStream

Public 类型

typedef std::shared_ptr< PeekableStreamPtr
 

Public 成员函数

virtual ~PeekableStream ()=default
 
virtual int64_t peek (void *buffer, size_t length)=0
 
virtual int64_t trunc (size_t length)=0
 

详细描述

可窥视流接口

成员类型定义说明

◆ Ptr

构造及析构函数说明

◆ ~PeekableStream()

virtual sese::io::PeekableStream::~PeekableStream ( )
virtualdefault

成员函数说明

◆ peek()

virtual int64_t sese::io::PeekableStream::peek ( void * buffer,
size_t length )
pure virtual

◆ trunc()


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