Code example for DataInputStream

Methods: readBoolean, readInt

0
		out.writeBoolean(zustand); 
	} 
	 
	@Override 
	public void einlesen(DataInputStream in) throws IOException { 
		tastencode = in.readInt(); 
		zustand = in.readBoolean(); 
	} 
	 
}