2024-11-06 10:49:54 -08:00
|
|
|
# baze64
|
|
|
|
|
|
|
|
A base64 encoder & decoder in Zig
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```shell
|
2024-11-07 09:42:51 -08:00
|
|
|
# Print help
|
|
|
|
|
2024-11-06 10:49:54 -08:00
|
|
|
# Encoding
|
2024-11-07 09:42:51 -08:00
|
|
|
> baze64 "hello"
|
|
|
|
|
|
|
|
# Decoding with -D or -d
|
|
|
|
> baze64 -D "aGVsbG8="
|
2024-11-06 10:49:54 -08:00
|
|
|
|
2024-11-07 09:42:51 -08:00
|
|
|
# Print help
|
|
|
|
> baze64 -H
|
|
|
|
Usage: baze64 {-d/-D} {-h/-H} input
|
|
|
|
With no arguments, encodes input into a base64 string
|
|
|
|
Args:
|
|
|
|
-d -D: decodes a base64 string
|
|
|
|
-h -H: print this help
|
2024-11-06 10:49:54 -08:00
|
|
|
```
|