https://github.com/ctrlaltdev/x
ASCII <-> HEX && ASCII <-> BIN
https://github.com/ctrlaltdev/x
Last synced: 3 months ago
JSON representation
ASCII <-> HEX && ASCII <-> BIN
- Host: GitHub
- URL: https://github.com/ctrlaltdev/x
- Owner: ctrlaltdev
- License: mpl-2.0
- Created: 2021-06-10T05:50:23.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-11T21:50:41.000Z (over 2 years ago)
- Last Synced: 2025-04-09T01:31:20.390Z (9 months ago)
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# X
Simply converts from a string to hex or binary
Can do the opposite if asked nicely
## Usage
### Hex
```sh
x Ohai
```
will return `4F686169`
```sh
x -r 4F686169
```
will return `Ohai`
### Bin
```sh
x -b Ohai
```
will return `01001111011010000110000101101001`
```sh
x -b -r 01001111011010000110000101101001
```
will return `Ohai`