(String prefix)
| 362 | |
| 363 | |
| 364 | private void dump(String prefix) { |
| 365 | if (log.isTraceEnabled()) { |
| 366 | log.trace(prefix + ": " + HexUtils.toHexString(buf) + " " + pos + "/" + (len + 4)); |
| 367 | } |
| 368 | int max = pos; |
| 369 | if (len + 4 > pos) { |
| 370 | max = len + 4; |
| 371 | } |
| 372 | if (max > 1000) { |
| 373 | max = 1000; |
| 374 | } |
| 375 | if (log.isTraceEnabled()) { |
| 376 | for (int j = 0; j < max; j += 16) { |
| 377 | log.trace(hexLine(buf, j, len)); |
| 378 | } |
| 379 | } |
| 380 | } |
| 381 | |
| 382 | |
| 383 | private void validatePos(int posToTest) { |
no test coverage detected