Commit 9068b0ee authored by Shivendra Agarwal's avatar Shivendra Agarwal Committed by Wouter van Oortmerssen

flexbuffers blob to string implementation (#5039)

parent f8a0d388
......@@ -547,6 +547,9 @@ class Reference {
AppendToString<TypedVector>(s, AsTypedVector(), keys_quoted);
} else if (IsFixedTypedVector()) {
AppendToString<FixedTypedVector>(s, AsFixedTypedVector(), keys_quoted);
} else if (IsBlob()) {
auto blob = AsBlob();
flatbuffers::EscapeString(reinterpret_cast<const char*>(blob.data()), blob.size(), &s, true, false);
} else {
s += "(?)";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment