(data []byte)
| 1022 | } |
| 1023 | |
| 1024 | func HasBinaryData(data []byte) bool { |
| 1025 | for _, b := range data { |
| 1026 | if b < 32 && b != '\n' && b != '\r' && b != '\t' && b != '\f' && b != '\b' { |
| 1027 | return true |
| 1028 | } |
| 1029 | } |
| 1030 | return false |
| 1031 | } |
| 1032 | |
| 1033 | func DumpGoRoutineStacks(w io.Writer) { |
| 1034 | buf := make([]byte, 1<<20) |
no outgoing calls
no test coverage detected