Thanks to visit codestin.com
Credit goes to github.com

Skip to content

hiroakis/bb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bb

bb is a command line tool to replace hex string with Go byte slice.

Installation

go install github.com/hiroakis/bb@latest

Use case

  • command line

Run bb command with an argument.

# bb 16bf0f1e88de

You will get []byte{0x16, 0xbf, 0x0f, 0x1e, 0x88, 0xde}

  • vim visual mode

Select the line and run bb as a external command !bb

16bf0f1e88de

:'<,'>!bb

The line 16bf0f1e88de will be replaced with []byte{0x16, 0xbf, 0x0f, 0x1e, 0x88, 0xde}

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages