#include <Util.h>
Inheritance diagram for prip::Util:
Definition at line 27 of file Util.h.
Public Member Functions | |
~Util (void) | |
Static Public Member Functions | |
static std::string | base64Encode (const unsigned char *const bytesToEncode, unsigned int len) |
encodes the unsigned char array byteToEncode of length len using base64 algorithm | |
static std::string | base64Encode (const std::string &stringToEncode) |
encodes the string stringToEncode using base64 algorithm | |
static std::string | base64Decode (const std::string &stringToDecode) |
decodes the base64-encoded string stringToEncode | |
static fipImage | raw2fipImage (const std::string &rawBuffer) |
converts the raw JPEG image into a fipImage | |
static IplImage * | raw2IplImage (const std::string &rawBuffer) |
converts the raw JPEG image into an IplImage | |
Private Member Functions | |
Util (void) |
static std::string prip::Util::base64Decode | ( | const std::string & | stringToDecode | ) | [static] |
decodes the base64-encoded string stringToEncode
stringToDecode | string that should be decoded |
static std::string prip::Util::base64Encode | ( | const std::string & | stringToEncode | ) | [static] |
encodes the string stringToEncode
using base64 algorithm
stringToEncode | string that should be base64-encoded |
static std::string prip::Util::base64Encode | ( | const unsigned char *const | bytesToEncode, | |
unsigned int | len | |||
) | [static] |
encodes the unsigned char array byteToEncode
of length len
using base64 algorithm
bytesToEncode | array that should be base64-encoded | |
len | number of items in the array |
fipImage prip::Util::raw2fipImage | ( | const std::string & | rawBuffer | ) | [inline, static] |
converts the raw JPEG image into a fipImage
rawBuffer | buffer containing the raw JPEG image |
IplImage * prip::Util::raw2IplImage | ( | const std::string & | rawBuffer | ) | [inline, static] |
converts the raw JPEG image into an IplImage
rawBuffer | buffer containing the raw JPEG image |