Index: runtime/vm/json_stream.h |
diff --git a/runtime/vm/json_stream.h b/runtime/vm/json_stream.h |
index 4a061787afa18840eb60cb1ff690dfc7ffebcbd2..56732cec9a824223e3023c6039e037d55e09aee5 100644 |
--- a/runtime/vm/json_stream.h |
+++ b/runtime/vm/json_stream.h |
@@ -116,6 +116,7 @@ class JSONStream : ValueObject { |
void PrintValue(intptr_t i); |
void PrintValue64(int64_t i); |
void PrintValue(double d); |
+ void PrintValueBase64(const uint8_t* bytes, intptr_t length); |
void PrintValue(const char* s); |
void PrintValue(const char* s, intptr_t len); |
void PrintValueNoEscape(const char* s); |
@@ -133,6 +134,9 @@ class JSONStream : ValueObject { |
void PrintProperty(const char* name, intptr_t i); |
void PrintProperty64(const char* name, int64_t i); |
void PrintProperty(const char* name, double d); |
+ void PrintPropertyBase64(const char* name, |
+ const uint8_t* bytes, |
+ intptr_t length); |
void PrintProperty(const char* name, const char* s); |
bool PrintPropertyStr(const char* name, const String& s, intptr_t limit); |
void PrintPropertyNoEscape(const char* name, const char* s); |
@@ -209,6 +213,11 @@ class JSONObject : public ValueObject { |
void AddProperty(const char* name, double d) const { |
stream_->PrintProperty(name, d); |
} |
+ void AddPropertyBase64(const char* name, |
+ const uint8_t* bytes, |
+ intptr_t length) const { |
+ stream_->PrintPropertyBase64(name, bytes, length); |
+ } |
void AddProperty(const char* name, const char* s) const { |
stream_->PrintProperty(name, s); |
} |