Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
Binary_Util.hh File Reference
#include <string>

Namespaces

 utility
 unresizable vector whose size is known at compile time, which may be allocated on the stack, and which indexes from 0.
 

Functions

void utility::swap4_aligned (void *v, long ndata)
 
unsigned char utility::code_to_6bit (unsigned char _6bit)
 
unsigned char utility::code_from_6bit (unsigned char _8bit)
 
void utility::encode_24_to_32 (unsigned char i0, unsigned char i1, unsigned char i2, unsigned char &o0, unsigned char &o1, unsigned char &o2, unsigned char &o3)
 
void utility::decode_32_to_24 (unsigned char i0, unsigned char i1, unsigned char i2, unsigned char i3, unsigned char &o0, unsigned char &o1, unsigned char &o2)
 
void utility::encode6bit (const unsigned char *memory, unsigned int length, std::string &jar)
 
int utility::decode6bit (unsigned char *memory, const std::string &jar)