Skip to content

Commit 5dfc6c7

Browse files
authored
Update README.md
1 parent 84ec533 commit 5dfc6c7

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22

33
![CI](https://github.com/dnsimple/base32_erlang/actions/workflows/ci.yml/badge.svg)
44

5-
**License: Apache 2**
6-
7-
1> X = <<"foobar">>.
8-
<<"foobar">>
9-
2> X0 = base32:encode(X).
10-
<<"MZXW6YTBOI======">>
11-
3> X = base32:decode(X0).
12-
<<"foobar">>
13-
4> X1 = base32:encode(X, [hex]).
14-
<<"CPNMUOJ1E8======">>
15-
5> X = base32:decode(X1, [hex]).
16-
<<"foobar">>
17-
6> base32:encode(X, [lower]).
18-
<<"mzxw6ytboi======">>
19-
7> base32:encode(X, [nopad]).
20-
<<"MZXW6YTBOI">>
21-
8> base32:encode(X, [hex, lower, nopad]).
22-
<<"cpnmuoj1e8">>
5+
```
6+
1> X = <<"foobar">>.
7+
<<"foobar">>
8+
2> X0 = base32:encode(X).
9+
<<"MZXW6YTBOI======">>
10+
3> X = base32:decode(X0).
11+
<<"foobar">>
12+
4> X1 = base32:encode(X, [hex]).
13+
<<"CPNMUOJ1E8======">>
14+
5> X = base32:decode(X1, [hex]).
15+
<<"foobar">>
16+
6> base32:encode(X, [lower]).
17+
<<"mzxw6ytboi======">>
18+
7> base32:encode(X, [nopad]).
19+
<<"MZXW6YTBOI">>
20+
8> base32:encode(X, [hex, lower, nopad]).
21+
<<"cpnmuoj1e8">>
22+
```

0 commit comments

Comments
 (0)