(int length)
| 446 | } |
| 447 | |
| 448 | byte[] getLut(int length) throws IOException { |
| 449 | if ((length&1)!=0) { // odd |
| 450 | String dummy = getString(length); |
| 451 | return null; |
| 452 | } |
| 453 | length /= 2; |
| 454 | byte[] lut = new byte[length]; |
| 455 | for (int i=0; i<length; i++) |
| 456 | lut[i] = (byte)(getShort()>>>8); |
| 457 | return lut; |
| 458 | } |
| 459 | |
| 460 | int getLength() throws IOException { |
| 461 | int b0 = getByte(); |
no test coverage detected