-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,6 +86,32 @@ Encodes each character of the given data into a variety of formats. | |
`-h`, `--help` | ||
Print help information. | ||
|
||
## EXAMPLES | ||
|
||
Encode a string `hello world` to base 16: | ||
|
||
ronin encode --base16 --string "hello world" | ||
|
||
Encode a string `hello world` to HTTP: | ||
|
||
ronin encode --http --string "hello world" | ||
|
||
Encode a string `hello world` to XML: | ||
|
||
ronin encode --xml --string "hello world" | ||
|
||
Hex encodes the contents of a file: | ||
|
||
ronin encode --hex --file /path/to/file.txt | ||
|
||
Compresses the file's contents using Zlib: | ||
|
||
ronin encode --zlib --file hi.txt | ||
|
||
Encode a string `hello world` to ruby: | ||
|
||
ronin encode --ruby --string "hello world" | ||
|
||
## AUTHOR | ||
|
||
Postmodern <[email protected]> | ||
|