Skip to content

Commit

Permalink
Fixed issue #1 on README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
end2endzone committed Jul 22, 2018
1 parent a7ca31f commit ca5a4eb
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,16 +176,19 @@ The following demo show how to use the library:

```cpp
#include <bitreader.h>

/**
* Encoding "text" as 5 bits characters using the following:
* A -> 0
* Z -> 26
* -> 27
* . -> 28
* 0 -> 29
* 1 -> 30
* 2 -> 31
* Z -> 25
* -> 26
* . -> 27
* 0 -> 28
* 1 -> 29
* 2 -> 30
* 3 -> 31
*/

#define BUFFER_SIZE 600
unsigned char sourceBuffer[BUFFER_SIZE];
unsigned char targetBuffer[BUFFER_SIZE];
Expand Down

0 comments on commit ca5a4eb

Please sign in to comment.