Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README → README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,14 @@ your calling file, and link against the compiled library.

There are many ways to call Snappy, but the simplest possible is

snappy::Compress(input.data(), input.size(), &output);
```cpp
snappy::Compress(input.data(), input.size(), &output);
```

and similarly

snappy::Uncompress(input.data(), input.size(), &output);
```cpp
snappy::Uncompress(input.data(), input.size(), &output);
```

where "input" and "output" are both instances of std::string.

Expand Down