diff options
author | snappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143> | 2011-11-08 14:46:39 +0000 |
---|---|---|
committer | snappy.mirrorbot@gmail.com <snappy.mirrorbot@gmail.com@03e5f5b5-db94-4691-08a0-1a8bf15f6143> | 2011-11-08 14:46:39 +0000 |
commit | 0c1b9c3904430f5b399bd057d76de4bc36b7a123 (patch) | |
tree | a4662be71367b058e11d85db2146d9e27870621f | |
parent | b61134bc0a6a904b41522b4e5c9e80874c730cef (diff) | |
download | snappy-git-0c1b9c3904430f5b399bd057d76de4bc36b7a123.tar.gz |
Fix public issue #53: Update the README to the API we actually open-sourced
with.
R=sanjay
git-svn-id: https://snappy.googlecode.com/svn/trunk@52 03e5f5b5-db94-4691-08a0-1a8bf15f6143
-rw-r--r-- | README | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -76,11 +76,11 @@ your calling file, and link against the compiled library. There are many ways to call Snappy, but the simplest possible is - snappy::Compress(input, &output); + snappy::Compress(input.data(), input.size(), &output); and similarly - snappy::Uncompress(input, &output); + snappy::Uncompress(input.data(), input.size(), &output); where "input" and "output" are both instances of std::string. |