Code example for DataInput

Methods: readDouble

	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];
		return data;
	public String readString() throws IOException {
Connect your IDE to all the code out there  Get Codota for Java