HexDump Namespace Reference


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

Function Documentation

◆ decode()

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

Definition at line 49 of file

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

◆ decode_inplace()

bool HexDump::decode_inplace ( std::string_view  input,
std::span< uint8_t >  output 

Definition at line 76 of file

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

◆ encode()

std::string HexDump::encode ( std::span< const uint8_t >  input,
bool  newlines 

Definition at line 20 of file

References t, and xrange().