https://github.com/mukailasam/yipada
Perform conversions between ASCII, decimal, hexadecimal, octal, and binary values
https://github.com/mukailasam/yipada
ascii binary conversion convert convert-ascii convert-binary convert-decimal convert-hexadecimal convert-octal converter decimal hexadecimal number-system octal
Last synced: 5 months ago
JSON representation
Perform conversions between ASCII, decimal, hexadecimal, octal, and binary values
- Host: GitHub
- URL: https://github.com/mukailasam/yipada
- Owner: mukailasam
- Created: 2023-10-09T22:54:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-21T15:38:43.000Z (about 2 years ago)
- Last Synced: 2024-12-31T19:52:28.682Z (over 1 year ago)
- Topics: ascii, binary, conversion, convert, convert-ascii, convert-binary, convert-decimal, convert-hexadecimal, convert-octal, converter, decimal, hexadecimal, number-system, octal
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Yipada
Perform conversions between ASCII, decimal, hexadecimal, octal, and binary values
# Install
go install github.com/mukailasam/yipada@latest
# Basic Usage
### Decimal Conversion
Decimal to binary
`yipada -db 10`
Decimal to hexadecimal
`yipada -dh 10`
Decimal to ASCII
`yipada -da 65`
Decimal to octal
`yipada -do 10`
### Binary Conversion
Binary to decimal
`yipada -bd 1010`
Binary to hexadecimal
`yipada -bh 1010`
Binary to ASCII
`yipada -ba 1100001`
Binary to octal
`yipada -bo 1010`
### Hexadecimal Conversion
Hexadecimal to decimal
`yipada -hd a`
Hexadecimal to binary
`yipada -hb a`
Hexadecimal to ASCII
`yipada -ha 41`
Hexadecimal to octal
`yipada -ho a`
### ASCII Conversion
ASCII to decimal
`yipada -ad A`
ASCII to binary
`yipada -ab A`
ASCII to hexadecimal
`yipada -ah A`
ASCII to octal
`yipada -ao A`
### Octal Conversion
Octal to decimal
`yipada -od 12`
Octal to binary
`yipada -ob 12`
Octal to hexadecimal
`yipada -oh 12`
Octal to ASCII
`yipada -oa 56`
### Note
To perform conversion for multiple values, put the values in a double quote and seperate each value within the double quote with a space.
e.g
```
yidapa -ba "1101110 10110 1101001 110001"
```
Except for hex operations