Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 days 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-13T21:19:37.000Z (7 months ago)
- Last Synced: 2024-11-10T11:47:09.441Z (2 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
[![Build Status](https://semaphoreci.com/api/v1/james-antill/gohexdump/branches/master/shields_badge.svg)](https://semaphoreci.com/james-antill/gohexdump)
[![Go Report Card](https://goreportcard.com/badge/github.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"'