}
//raw to hex string conversion from SqlConnection
-std::string rawToHexString(const std::vector<unsigned char> &raw) {
+std::string rawToHexString(const RawBuffer &raw) {
std::string dump(raw.size()*2, '0');
for(std::size_t i = 0; i < raw.size(); i++){
sprintf(&dump[2*i], "%02x", raw[i]);