Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(234)

Unified Diff: include/core/SkStream.h

Issue 12604012: comments only: update docs for SkStream::readData(), SkWStream::writeData() (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkStream.h
===================================================================
--- include/core/SkStream.h (revision 8186)
+++ include/core/SkStream.h (working copy)
@@ -66,8 +66,8 @@
size_t readPackedUInt();
/**
- * Create a new SkData from the stream contents. This balances the call
- * SkWStream::writeData().
+ * Reconstitute an SkData object that was written to the stream
+ * using SkWStream::writeData().
*/
SkData* readData();
@@ -108,6 +108,12 @@
bool writeStream(SkStream* input, size_t length);
+ /**
+ * Append a representation of an SkData object to the stream.
reed1 2013/03/18 14:12:58 Not sure what the reader is to infer from "represe
epoger 2013/03/18 22:25:51 While an air of mystery can be fun, let's try to m
+ * Note that this representation may include data other than the
+ * raw content of the SkData object.
+ * The SkData object can be reconstituted using SkStream::readData().
+ */
bool writeData(const SkData*);
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698