Index: runtime/vm/datastream.h |
diff --git a/runtime/vm/datastream.h b/runtime/vm/datastream.h |
index 841e265870371b77b4d6993ebeaedf27ee67792f..19a33c427dece8b1aa05fb370ef8317b4c6e6e27 100644 |
--- a/runtime/vm/datastream.h |
+++ b/runtime/vm/datastream.h |
@@ -310,6 +310,7 @@ class WriteStream : public ValueObject { |
} |
uint8_t* buffer() const { return *buffer_; } |
+ void set_buffer(uint8_t* value) { *buffer_ = value; } |
intptr_t bytes_written() const { return current_ - *buffer_; } |
void set_current(uint8_t* value) { current_ = value; } |