Code example for DataInput

Methods: readDouble

0
	public long readLong() throws IOException { 
		return this.dataInput.readLong();
	} 
 
	public double readDouble() throws IOException { 
		return this.dataInput.readDouble();
	} 
 
	public byte[] readData() throws IOException { 
		int length = readInteger();
		return readDataRaw(length);
	} 
 
	public byte[] readDataRaw(int length) throws IOException {
		byte[] data = new byte[length];
		this.dataInput.readFully(data);
		return data;
	} 
 
	public String readString() throws IOException {
		byte[] buffer = readData();