()
| 354 | } |
| 355 | |
| 356 | int getShort() throws IOException { |
| 357 | int b0 = getByte(); |
| 358 | int b1 = getByte(); |
| 359 | if (littleEndian) |
| 360 | return ((b1 << 8) + b0); |
| 361 | else |
| 362 | return ((b0 << 8) + b1); |
| 363 | } |
| 364 | |
| 365 | int getSShort() throws IOException { |
| 366 | short b0 = (short)getByte(); |
no test coverage detected