Read bytes into field buf. @param n number of bytes @return field bytes, filled [0,n) @throws IOException
(int n)
| 250 | * @throws IOException |
| 251 | */ |
| 252 | protected byte[] readBytes(int n) throws IOException { |
| 253 | pt += n; |
| 254 | if (n > buf.length) |
| 255 | buf = new byte[n << 1]; |
| 256 | is.read(buf, 0, n); |
| 257 | return buf; |
| 258 | } |
| 259 | |
| 260 | protected long readUIntLong() throws IOException { |
| 261 | pt += 4; |