ActiveLib
Loading...
Searching...
No Matches
Public Member Functions | List of all members
active::serialise::Base64Transport Class Reference

#include <Base64Transport.h>

Public Member Functions

bool send (const utility::BufferIn &source, const utility::BufferOut &destination, utility::Memory::sizeOption howMany=std::nullopt) const
 
bool receive (const utility::BufferOut &destination, const utility::BufferIn &source, utility::Memory::sizeOption howMany=std::nullopt) const
 

Detailed Description

A serialisation tool class to send/receive data encoded as base64 characters

Member Function Documentation

◆ receive()

bool Base64Transport::receive ( const utility::BufferOut & destination,
const utility::BufferIn & source,
utility::Memory::sizeOption howMany = std::nullopt ) const

Receive specified data from a stream of hex characters

Parameters
destinationThe buffer to receive the data
sourceThe hex stream source
howManyThe number of bytes to import (nullopt = to eof)
Returns
True if the import was successful
Here is the call graph for this function:

◆ send()

bool Base64Transport::send ( const utility::BufferIn & source,
const utility::BufferOut & destination,
utility::Memory::sizeOption howMany = std::nullopt ) const

Export specified data as hex chars

Parameters
sourceThe data to send
destinationThe destination buffer for the exported hex chars
howManyThe number of bytes to export (nullopt = to eof)
Returns
True if no errors occurred
Here is the call graph for this function:

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