Code example for DataOutputStream

Methods: writeDouble

0
			} 
		} 
 
		public void write(double value) {
			try { 
				dataOutputStream.writeDouble(value);
			} catch (IOException e) {
				throw new RuntimeException();
			} 
		} 
 
		public void write(byte[] value) {
			try { 
				dataOutputStream.writeInt(value.length);
				dataOutputStream.write(value);
			} catch (IOException e) {
				throw new RuntimeException();
			} 
		} 
 
		public void write(String value) {