(bs []byte)
| 785 | } |
| 786 | |
| 787 | func escape(bs []byte) string { |
| 788 | ret := "" |
| 789 | for _, b := range bs { |
| 790 | ret += fmt.Sprintf("\\x%02x", b) |
| 791 | } |
| 792 | return ret |
| 793 | } |
| 794 | |
| 795 | func addr(a net.Addr) string { |
| 796 | switch a := a.(type) { |
no outgoing calls
no test coverage detected