aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclyne <clyne@bitgloo.com>2020-12-30 08:09:56 -0500
committerGitHub <noreply@github.com>2020-12-30 08:09:56 -0500
commit36e3f1a0fa620090c87edae8ebf0e7c97ae6099e (patch)
tree4efa1a99166c7bae2268be95f5b9a6c6c26a06f1
parent0d18b4ba03f9f004c60efa8cf8303a0eb78fbbc8 (diff)
Update README.md
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 08464a5..f1b5fe2 100644
--- a/README.md
+++ b/README.md
@@ -25,13 +25,13 @@ A string of numbers 1 to 100 separated with spaces can be compressed to 64% of i
## How to Use
```cpp
-// 1.
+// 1. Include
#include "consteval_huffman.hpp"
-// 2.
+// 2. Use _huffman suffix (data now stores compressed string)
auto data = "This is my string of data"_huffman; // "\0\x1 Non-text data works too!"
-// 3.
+// 3. Use iterator to decompress at run-time
for (char c : data)
std::cout << c;
```