void testSerializationExactEquality(const T& val) { BlobEncoder encoder; T decodedVal; encoder(val); BlobDecoder decoder(encoder.data(), encoder.size()); decoder(decodedVal); EXPECT_EQ(decodedVal, val); }
void RepoQuery::bindBlob(const char* paramName, const BlobEncoder& blob, bool isStatic) { return bindBlob(paramName, blob.data(), blob.size(), isStatic); }