6162636465666768697071
public boolean readBoolean() throws IncompatibleModeException, IOException, InvalidPayloadException { if (_mode != READ_MODE) throw new IncompatibleModeException(); valid(); return _inputStream.readBoolean(); }
7273747576777879808182
public int readInt() throws IncompatibleModeException, IOException, InvalidPayloadException { if (_mode != READ_MODE) throw new IncompatibleModeException(); valid(); return _inputStream.readInt(); }
8384858687888990919293
public long readLong() throws IncompatibleModeException, IOException, InvalidPayloadException { if (_mode != READ_MODE) throw new IncompatibleModeException(); valid(); return _inputStream.readLong(); }
949596979899100101102103104
public char readChar() throws IncompatibleModeException, IOException, InvalidPayloadException { if (_mode != READ_MODE) throw new IncompatibleModeException(); valid(); return _inputStream.readChar(); }
105106107108109110111112113114115
public double readDouble() throws IncompatibleModeException, IOException, InvalidPayloadException { if (_mode != READ_MODE) throw new IncompatibleModeException(); valid(); return _inputStream.readDouble(); }
116117118119120121122123124125126
public float readFloat() throws IncompatibleModeException, IOException, InvalidPayloadException { if (_mode != READ_MODE) throw new IncompatibleModeException(); valid(); return _inputStream.readFloat(); }
127128129130131132133134135136137
public short readShort() throws IncompatibleModeException, IOException, InvalidPayloadException { if (_mode != READ_MODE) throw new IncompatibleModeException(); valid(); return _inputStream.readShort(); }
138139140141142143144145146147148
public String readUTFString() throws IncompatibleModeException, IOException, InvalidPayloadException { if (_mode != READ_MODE) throw new IncompatibleModeException(); valid(); return _inputStream.readUTF(); }
149150151152153154155156157
public void writeBoolean(boolean b) throws IncompatibleModeException, IOException { if (_mode != WRITE_MODE) throw new IncompatibleModeException(); _outputStream.writeBoolean(b); }
157158159160161162163164165
} public void writeInt(int i) throws IncompatibleModeException, IOException { if (_mode != WRITE_MODE) throw new IncompatibleModeException(); _outputStream.writeInt(i); }