binary-to-text encoding
More...
#include <BinaryDataEncoder.hpp>
List of all members.
Public Member Functions |
| BinaryDataEncoder (const Config &config=Config()) |
void | encode (const std::vector< double > &data, std::string &result, size_t *binaryByteCount=NULL) const |
| encode binary data as a text string
|
void | encode (const double *data, size_t dataSize, std::string &result, size_t *binaryByteCount=NULL) const |
| encode binary data as a text string
|
void | decode (const char *encodedData, size_t len, std::vector< double > &result) const |
| decode text-encoded data as binary
|
void | decode (const std::string &encodedData, std::vector< double > &result) const |
Private Attributes |
boost::shared_ptr< Impl > | impl_ |
Detailed Description
binary-to-text encoding
Definition at line 41 of file BinaryDataEncoder.hpp.
Member Enumeration Documentation
Constructor & Destructor Documentation
pwiz::msdata::BinaryDataEncoder::BinaryDataEncoder |
( |
const Config & |
config = Config() | ) |
|
Member Function Documentation
void pwiz::msdata::BinaryDataEncoder::encode |
( |
const std::vector< double > & |
data, |
|
|
std::string & |
result, |
|
|
size_t * |
binaryByteCount = NULL |
|
) |
| const |
void pwiz::msdata::BinaryDataEncoder::encode |
( |
const double * |
data, |
|
|
size_t |
dataSize, |
|
|
std::string & |
result, |
|
|
size_t * |
binaryByteCount = NULL |
|
) |
| const |
encode binary data as a text string
void pwiz::msdata::BinaryDataEncoder::decode |
( |
const char * |
encodedData, |
|
|
size_t |
len, |
|
|
std::vector< double > & |
result |
|
) |
| const |
void pwiz::msdata::BinaryDataEncoder::decode |
( |
const std::string & |
encodedData, |
|
|
std::vector< double > & |
result |
|
) |
| const |
|
inline |
Member Data Documentation
boost::shared_ptr<Impl> pwiz::msdata::BinaryDataEncoder::impl_ |
|
private |
The documentation for this class was generated from the following file: