Index: src/core/SkStreamPriv.h |
diff --git a/src/core/SkStreamPriv.h b/src/core/SkStreamPriv.h |
index 718097d1cc0624d092c8f15905bfa407a5e91580..d1af117674aa3efa57a7cfe16da421733ead39ec 100644 |
--- a/src/core/SkStreamPriv.h |
+++ b/src/core/SkStreamPriv.h |
@@ -43,4 +43,10 @@ SkData *SkCopyStreamToData(SkStream* stream); |
*/ |
SkStreamRewindable* SkStreamRewindableFromSkStream(SkStream* stream); |
+/** |
+ * Copies the input stream from the current position to the end. |
+ * Does not rewind the input stream. |
+ */ |
+bool SkStreamCopy(SkWStream* out, SkStream* input); |
+ |
#endif // SkStreamPriv_DEFINED |