X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=thirdparty%2Fsnappy%2FREADME;h=3bc8888f991b76bd5f6b69d273b2d3de34d1ad9d;hb=af0f4f9483fc9aef4d3af914d80d56b560272dcb;hp=df8f0e178e2b4c86f617256849b27cfa395f1f34;hpb=df1a1816c13e6fcdf63a45c973f09f04af318073;p=apitrace diff --git a/thirdparty/snappy/README b/thirdparty/snappy/README index df8f0e1..3bc8888 100644 --- a/thirdparty/snappy/README +++ b/thirdparty/snappy/README @@ -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.