(int b)
| 134 | int offset, int length); |
| 135 | |
| 136 | public void write(int b) throws IOException { |
| 137 | int count = writeBytes(peer, position, new byte[] { (byte)b }, 0, 1); |
| 138 | if (count > 0) position += count; |
| 139 | } |
| 140 | |
| 141 | private static native int writeBytes(long peer, long position, byte[] buffer, |
| 142 | int offset, int length); |