diff options
| author | Paul Duncan <pabs@pablotron.org> | 2026-03-09 17:06:16 -0400 |
|---|---|---|
| committer | Paul Duncan <pabs@pablotron.org> | 2026-03-09 17:06:16 -0400 |
| commit | 4f6437dad1df4a89ae24ef9f7cddbd4e992ebe1d (patch) | |
| tree | 7ff09ed7080debe50cd7439e2e33c6452e2ce104 /content/posts | |
| parent | ca1cf2b77a7493d2c7e3daec416e113691e5683c (diff) | |
| download | pablotron.org-4f6437dad1df4a89ae24ef9f7cddbd4e992ebe1d.tar.xz pablotron.org-4f6437dad1df4a89ae24ef9f7cddbd4e992ebe1d.zip | |
content/posts/2026-03-08-pbech32-v0.1.0.md: add link to examples/
Diffstat (limited to 'content/posts')
| -rw-r--r-- | content/posts/2026-03-08-pbech32-v0.1.0.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/content/posts/2026-03-08-pbech32-v0.1.0.md b/content/posts/2026-03-08-pbech32-v0.1.0.md index 7712d2f..4913886 100644 --- a/content/posts/2026-03-08-pbech32-v0.1.0.md +++ b/content/posts/2026-03-08-pbech32-v0.1.0.md @@ -4,7 +4,7 @@ title: "pbech32 v0.1.0" date: "2026-03-08T02:50:28-04:00" --- I just released the first version of [pbech32][], a [Rust][] library for -encoding and decoding [Bech32][] strings. +encoding and decoding [Bech32][] data. [Bech32][] is a fast and user-friendly [base 32][] encoding format that includes a [namespace][] and [checksum][]. @@ -67,6 +67,10 @@ encoder.flush()?; // flush encoder (REQUIRED) let got = str::from_utf8(vec.as_ref())?; // convert output vector to string assert_eq!(got, "hello1vehkc6mn27xpct"); // check result ``` + + +More examples are available in the [`examples/` directory][examples] of +the [pbech32 Git repository][git repository]. [bech32]: https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki "Bech32 (BIP173)" @@ -116,7 +120,7 @@ assert_eq!(got, "hello1vehkc6mn27xpct"); // check result "pbech32 API documentation on docs.rs" [crates-io-pbech32]: https://crates.io/crates/pbech32 "pbech32 on crates.io" -[examples]: examples/ +[examples]: https://github.com/pablotron/pbech32/tree/main/examples "pbech32 examples/ directory" [cargo-tarpaulin]: https://crates.io/crates/cargo-tarpaulin "Tarpaulin code coverage reporting tool." |
