diff options
author | halcanary <halcanary@google.com> | 2015-08-18 13:30:25 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-18 13:30:25 -0700 |
commit | 48305e835351291ef72a7084c6c1af7b185d89c0 (patch) | |
tree | 56cf2a20e842163148bb212f9ab606deede363d4 /src/core/SkStreamPriv.h | |
parent | a44919ea27acd9808a7581362018484355c0f026 (diff) |
SkPDF/Deflate: clean up old SkFlate code
Factor out some of https://crrev.com/1227913008
BUG=skia:3030
Review URL: https://codereview.chromium.org/1298243002
Diffstat (limited to 'src/core/SkStreamPriv.h')
-rw-r--r-- | src/core/SkStreamPriv.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/SkStreamPriv.h b/src/core/SkStreamPriv.h index 718097d1cc..d1af117674 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 |