https://github.com/james-antill/gohexdump
Simple hexdump cmd and API in Go
https://github.com/james-antill/gohexdump
cmd golang hexdump hexdumper
Last synced: 3 months ago
JSON representation
Simple hexdump cmd and API in Go
- Host: GitHub
- URL: https://github.com/james-antill/gohexdump
- Owner: james-antill
- License: mit
- Created: 2018-04-15T21:09:51.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-06-13T21:19:37.000Z (12 months ago)
- Last Synced: 2025-01-07T13:47:00.014Z (5 months ago)
- Topics: cmd, golang, hexdump, hexdumper
- Language: Go
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://semaphoreci.com/james-antill/gohexdump)
[](https://goreportcard.com/report/github.com/james-antill/gohexdump)# Hexdump
Simple hexdump cmd and API for Go.
## Command
Outputs 16 bytes at a time, cmd also reads from stdin if no arguments given.
**Install** with: go install github.com/james-antill/gohexdump/cmd/hexdump@latest
Roughly equivalent to:
% rpm -qf /usr/bin/hexdump
util-linux-2.11r-10% hexdump -e '"%08_ax:"
" " 2/1 "%02X"
" " 2/1 "%02X"
" " 2/1 "%02X"
" " 2/1 "%02X"
" " 2/1 "%02X"
" " 2/1 "%02X"
" " 2/1 "%02X"
" " 2/1 "%02X"'
-e '" " 16 "%_p" "\n"'