winterm/ansi.go
func bytesToHex(b []byte) string {
	hex := make([]string, len(b))
	for i, ch := range b {
		hex[i] = fmt.Sprintf("%X", ch)
	}
	return strings.Join(hex, "")
}
func bytesToHex(b []byte) string {
	hex := make([]string, len(b))
	for i, ch := range b {
		hex[i] = fmt.Sprintf("%X", ch)
	}
	return strings.Join(hex, "")
}
func bytesToHex ( b [ ] byte ) string { hex := make ( [ ] string , len ( b ) ) for i , ch := range b { hex [ i ] = fmt . Sprintf ( " " , ch ) } return strings . Join ( hex , " " ) }
// bytesToHex converts a slice of bytes to a human-readable string.
bytesToHex converts a slice of bytes to a human - readable string .