libsaltpack
Loading...
Searching...
No Matches
Public Member Functions | List of all members
saltpack::ArmoredInputStream Class Reference

Input Stream to parse BaseX armored content. More...

#include <ArmoredInputStream.h>

Inheritance diagram for saltpack::ArmoredInputStream:

Public Member Functions

 ArmoredInputStream (std::istream &in, const std::string &app)
 
 ArmoredInputStream (std::istream &in)
 
 ~ArmoredInputStream () override
 
int underflow () override
 

Detailed Description

Input Stream to parse BaseX armored content.

The alphabet used is BASE62.

Constructor & Destructor Documentation

◆ ArmoredInputStream() [1/2]

saltpack::ArmoredInputStream::ArmoredInputStream ( std::istream & in,
const std::string & app )

Creates a new ArmoredInputStream instance for a specific application.

Parameters
inthe source input stream containing armored data.
appthe application name that will be verified in the header/footer of the message contained in the input stream.
Exceptions
SaltpackException

◆ ArmoredInputStream() [2/2]

saltpack::ArmoredInputStream::ArmoredInputStream ( std::istream & in)
explicit

Creates a new ArmoredInputStream instance.

Parameters
inthe source input stream containing armored data.
Exceptions
SaltpackException

◆ ~ArmoredInputStream()

saltpack::ArmoredInputStream::~ArmoredInputStream ( )
override

Destroyer.

Member Function Documentation

◆ underflow()

int saltpack::ArmoredInputStream::underflow ( )
override

Method overridden from std::sreambuf (internal use only).

Returns
the next available character.

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