aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkStream.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2014-09-12 08:49:54 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-12 08:49:54 -0700
commit83658305a1bda2d862f50145ecf5cb697b575e86 (patch)
treedf703fa071c3aee76083d1f08a3aa4c7d8f1f72c /include/core/SkStream.h
parent1f777e8580a67f2f975151bc414a1695696aa635 (diff)
remove confusing/unused stream methods
BUG=skia: R=bungeman@google.com, djsollen@google.com Author: reed@google.com Review URL: https://codereview.chromium.org/563273003
Diffstat (limited to 'include/core/SkStream.h')
-rw-r--r--include/core/SkStream.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/core/SkStream.h b/include/core/SkStream.h
index 516b036a55..8e3f375519 100644
--- a/include/core/SkStream.h
+++ b/include/core/SkStream.h
@@ -81,12 +81,6 @@ public:
SkScalar readScalar();
size_t readPackedUInt();
- /**
- * Reconstitute an SkData object that was written to the stream
- * using SkWStream::writeData().
- */
- SkData* readData();
-
//SkStreamRewindable
/** Rewinds to the beginning of the stream. Returns true if the stream is known
* to be at the beginning after this call returns.
@@ -210,16 +204,6 @@ public:
bool writeStream(SkStream* input, size_t length);
/**
- * Append an SkData object to the stream, such that it can be read
- * out of the stream using SkStream::readData().
- *
- * Note that the encoding method used to write the SkData object
- * to the stream may change over time. This method DOES NOT
- * just write the raw content of the SkData object to the stream.
- */
- bool writeData(const SkData*);
-
- /**
* This returns the number of bytes in the stream required to store
* 'value'.
*/