(bytes protocol.Bytes)
| 139 | } |
| 140 | |
| 141 | func readAll(bytes protocol.Bytes) []byte { |
| 142 | if bytes != nil { |
| 143 | defer bytes.Close() |
| 144 | } |
| 145 | b, err := protocol.ReadAll(bytes) |
| 146 | if err != nil { |
| 147 | panic(err) |
| 148 | } |
| 149 | return b |
| 150 | } |
no test coverage detected