bin2go

command module
v0.0.0-...-5bdc4b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2021 License: MIT Imports: 6 Imported by: 0

README

bin2go
======

Converts binary files to go source code.

Usage
-----

	bin2go [-p <package>] [-l <bytes per line>] [-c] [-s] [-v <variable>] [-o <output file>] <file 1> <file 2> ...

Options:

	-p: package name used in the Go file(s)
	-l: bytes per line
	-c: add comments to the end of each line, they are the bytes as characters
	-s: use a slice ([]byte) instead of an array ([...]byte)
	-v: variable name in the Go file(s)
	-o: output file, this is only used if there is exactly one input file,
	    otherwise the output file names are generated from the input file names

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
v2

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL