aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkStream.h
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-02-23 12:17:59 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-23 12:18:00 -0800
commit7af21501a61886cac94f0bd5e1c14be2dce9ae63 (patch)
treee4ebfeb6e19aa288edbbc35cc80605d9d8a7a18a /include/core/SkStream.h
parent52057c870777b72971962e90f13475b31c9f635f (diff)
SkStream: Add SkDynamicMemoryWStream::writeToStream(SkWStream*)
Diffstat (limited to 'include/core/SkStream.h')
-rw-r--r--include/core/SkStream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/core/SkStream.h b/include/core/SkStream.h
index 5ea6bf3822..9e6c261cbe 100644
--- a/include/core/SkStream.h
+++ b/include/core/SkStream.h
@@ -395,6 +395,7 @@ public:
// copy what has been written to the stream into dst
void copyTo(void* dst) const;
+ void writeToStream(SkWStream* dst) const;
/**
* Return a copy of the data written so far. This call is responsible for