The Wayback Machine - https://web.archive.org/web/20201112023223/https://github.com/focusaurus/cody
Skip to content
main
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

Cody: Command Line Transcoder

This is a small utility for converting between common data encoding format.

Usage: cody input-format output-format.

Input data is read from standard input. Transcoded output is written to standard output.

Examples

printf fe | cody hexadecimal decimal
254
printf 254 |cody decimal hexadecimal
fe
printf "Hello, Cody!" | cody binary base64  
SGVsbG8sIENvZHkh
printf SGVsbG8sIENvZHkh | cody base64 binary
Hello, Cody!
printf 07ff | cody hexadecimal base64
B/8=

Supported Conversions

  • binary to hexadecimal
  • binary to base64
  • binary to decimal
  • hexadecimal to binary
  • hexadecimal to base64
  • hexadecimal to decimal
  • base64 to binary
  • base64 to hexadecimal
  • decimal to binary
  • decimal to hexadecimal
  • decimal to base64

Command line format abbreviations

If you're into that whole brevity thing:

  • hex
  • dec
  • bin
  • 64

About

Command Line Transcoder Utility

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.