()
| 120 | } |
| 121 | |
| 122 | public short readShort() { |
| 123 | final short c; |
| 124 | if (readcount + 2 > cursize) |
| 125 | c = -1; |
| 126 | else |
| 127 | c = (short) ((readByte() & 0xff) + (readByte() << 8)); |
| 128 | |
| 129 | return c; |
| 130 | } |
| 131 | |
| 132 | public void writeInt(int c) { |
| 133 | int i = GetSpace(4); |