(OutputStream out, int v)
| 485 | } |
| 486 | |
| 487 | final void writeShort(OutputStream out, int v) throws IOException { |
| 488 | if (littleEndian) { |
| 489 | out.write(v&255); |
| 490 | out.write((v>>>8)&255); |
| 491 | } else { |
| 492 | out.write((v>>>8)&255); |
| 493 | out.write(v&255); |
| 494 | } |
| 495 | } |
| 496 | |
| 497 | final void writeInt(OutputStream out, int v) throws IOException { |
| 498 | if (littleEndian) { |
no test coverage detected