Base64 Namespace Reference


string encode (const uint8_t *input, size_t inSize)
std::pair< MemBuffer< uint8_t >, size_t > decode (string_view input)
bool decode_inplace (string_view input, uint8_t *output, size_t outSize)

Function Documentation

◆ decode()

std::pair< openmsx::MemBuffer< uint8_t >, size_t > Base64::decode ( string_view  input)

Definition at line 88 of file

References openmsx::MemBuffer< T, ALIGNMENT >::resize(), and string_view::size().

◆ decode_inplace()

bool Base64::decode_inplace ( string_view  input,
uint8_t *  output,
size_t  outSize 

Definition at line 125 of file

References unlikely.

Referenced by openmsx::InputArchiveBase< XmlInputArchive >::serialize_blob().

◆ encode()

std::string Base64::encode ( const uint8_t *  input,
size_t  inSize 

Definition at line 38 of file