tudocomp
– The TU Dortmund Compression Framework
tdc::io::EscapeMap Struct Reference

#include <EscapeMap.hpp>

Public Member Functions

 EscapeMap (const InputRestrictions &rest)
 
bool has_escape_bytes () const
 
uint8_t escape_byte () const
 
const std::vector< uint8_t > & replacement_bytes () const
 
const std::vector< uint8_t > & escape_bytes () const
 
bool null_terminate () const
 

Public Attributes

std::vector< uint8_t > m_replacement_bytes
 
std::vector< uint8_t > m_escape_bytes
 
bool m_null_terminate = false
 

Detailed Description

Definition at line 26 of file EscapeMap.hpp.

Constructor & Destructor Documentation

◆ EscapeMap()

tdc::io::EscapeMap::EscapeMap ( const InputRestrictions rest)
inline

Definition at line 39 of file EscapeMap.hpp.

Member Function Documentation

◆ escape_byte()

uint8_t tdc::io::EscapeMap::escape_byte ( ) const
inline

Definition at line 70 of file EscapeMap.hpp.

◆ escape_bytes()

const std::vector<uint8_t>& tdc::io::EscapeMap::escape_bytes ( ) const
inline

Definition at line 83 of file EscapeMap.hpp.

◆ has_escape_bytes()

bool tdc::io::EscapeMap::has_escape_bytes ( ) const
inline

Definition at line 66 of file EscapeMap.hpp.

◆ null_terminate()

bool tdc::io::EscapeMap::null_terminate ( ) const
inline

Definition at line 87 of file EscapeMap.hpp.

◆ replacement_bytes()

const std::vector<uint8_t>& tdc::io::EscapeMap::replacement_bytes ( ) const
inline

Definition at line 79 of file EscapeMap.hpp.

Member Data Documentation

◆ m_escape_bytes

std::vector<uint8_t> tdc::io::EscapeMap::m_escape_bytes

Definition at line 36 of file EscapeMap.hpp.

◆ m_null_terminate

bool tdc::io::EscapeMap::m_null_terminate = false

Definition at line 37 of file EscapeMap.hpp.

◆ m_replacement_bytes

std::vector<uint8_t> tdc::io::EscapeMap::m_replacement_bytes

Definition at line 35 of file EscapeMap.hpp.


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