Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = cobra.Command{ Use: "hex", Short: "File hex encoding", Long: color.GreenString(helpLong), Run: func(cmd *cobra.Command, args []string) { scan.Exec(func() error { scanner := new(scan.Scanner) scanner.SetPath(path) if hexStr, err := scanner.HexDump(); err != nil { return err } else { scan.OutFileString(out, scanner, hexStr) fmt.Println(color.GreenString(hexStr)) } return nil }) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.