Add a buffered SkStream class.
authorscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 26 Sep 2013 21:35:39 +0000 (21:35 +0000)
committerscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Thu, 26 Sep 2013 21:35:39 +0000 (21:35 +0000)
commit83fd2c7c43fea7ea49adc68681e9ed3ed180d568
treea4f8f829b240f9866597d0f7eda7690717316d34
parentf4f9df4c193620167dc6f202f1b72245f4a260cd
Add a buffered SkStream class.

This is used by Android to buffer an input stream which may not
otherwise be able to rewind.

Add a test for the new class.

R=bungeman@google.com, mtklein@google.com, reed@google.com

Review URL: https://codereview.chromium.org/23717055

git-svn-id: http://skia.googlecode.com/svn/trunk@11488 2bbb7eff-a529-9590-31e7-b0007b416f81
gyp/tests.gyp
gyp/utils.gyp
include/utils/SkFrontBufferedStream.h [new file with mode: 0644]
src/utils/SkFrontBufferedStream.cpp [new file with mode: 0644]
tests/FrontBufferedStreamTest.cpp [new file with mode: 0644]