MMTF-C++
The C++ language MMTF libraries
binary_encoder.hpp File Reference
#include <math.h>
#include <arpa/inet.h>

Go to the source code of this file.

Namespaces

 mmtf
 

Functions

std::vector< char > mmtf::encodeInt8ToByte (std::vector< int8_t > vec_in)
 
std::vector< char > mmtf::encodeFourByteInt (std::vector< int32_t > vec_in)
 
std::vector< char > mmtf::encodeStringVector (std::vector< std::string > in_sv, int32_t CHAIN_LEN)
 
std::vector< char > mmtf::encodeRunLengthChar (std::vector< char > in_cv)
 
std::vector< char > mmtf::encodeRunLengthDeltaInt (std::vector< int32_t > int_vec)
 
std::vector< char > mmtf::encodeRunLengthFloat (std::vector< float > floats_in, int32_t multiplier)
 
std::vector< char > mmtf::encodeDeltaRecursiveFloat (std::vector< float > floats_in, int32_t multiplier)