Skip to content
james-antillPublic

About

Simple hexdump cmd and API in Go

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

Build Status Go Report Card

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"'

About

Simple hexdump cmd and API in Go

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages