Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::io::PeekableStream Class Referenceabstract

Peekable stream interface. More...

#include <PeekableStream.h>

Inheritance diagram for 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 Types

typedef std::shared_ptr< PeekableStreamPtr
 

Public Member Functions

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

Detailed Description

Peekable stream interface.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ ~PeekableStream()

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

Member Function Documentation

◆ peek()

◆ trunc()


The documentation for this class was generated from the following file: