Cipherpack v1.2.0-dirty
A Cryprographic Stream Processor
Public Member Functions | Public Attributes | List of all members
cipherpack::WrappingDataSource Class Reference

This class represents an abstract data source object. More...

#include <cipherpack.hpp>

Inheritance diagram for cipherpack::WrappingDataSource:
Collaboration diagram for cipherpack::WrappingDataSource:

Public Member Functions

 WrappingDataSource (jau::io::ByteInStream &in_)
 
bool check_available (size_t n) override
 
bool end_of_data () const override
 
size_t get_bytes_read () const override
 
std::string id () const override
 
size_t peek (uint8_t out[], size_t length, size_t peek_offset) const override
 
size_t read (uint8_t out[], size_t length) override
 

Public Attributes

jau::io::ByteInStream & in
 

Detailed Description

This class represents an abstract data source object.

Definition at line 171 of file cipherpack.hpp.

Constructor & Destructor Documentation

◆ WrappingDataSource()

cipherpack::WrappingDataSource::WrappingDataSource ( jau::io::ByteInStream &  in_)
inline

Definition at line 176 of file cipherpack.hpp.

Member Function Documentation

◆ read()

size_t cipherpack::WrappingDataSource::read ( uint8_t  out[],
size_t  length 
)
inlineoverride

Definition at line 179 of file cipherpack.hpp.

◆ check_available()

bool cipherpack::WrappingDataSource::check_available ( size_t  n)
inlineoverride

Definition at line 182 of file cipherpack.hpp.

◆ peek()

size_t cipherpack::WrappingDataSource::peek ( uint8_t  out[],
size_t  length,
size_t  peek_offset 
) const
inlineoverride

Definition at line 185 of file cipherpack.hpp.

◆ end_of_data()

bool cipherpack::WrappingDataSource::end_of_data ( ) const
inlineoverride

Definition at line 188 of file cipherpack.hpp.

◆ id()

std::string cipherpack::WrappingDataSource::id ( ) const
inlineoverride

Definition at line 191 of file cipherpack.hpp.

◆ get_bytes_read()

size_t cipherpack::WrappingDataSource::get_bytes_read ( ) const
inlineoverride

Definition at line 194 of file cipherpack.hpp.

Member Data Documentation

◆ in

jau::io::ByteInStream& cipherpack::WrappingDataSource::in

Definition at line 174 of file cipherpack.hpp.


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