MMTF-C++
The C++ language MMTF libraries
Loading...
Searching...
No Matches
binary_encoder.hpp File Reference
#include <math.h>
#include <vector>
#include <string>
#include <sstream>
#include <arpa/inet.h>

Go to the source code of this file.

Namespaces

namespace  mmtf
 

Functions

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