Code example for DataInputStream

Methods: readUnsignedByte

0
	} 
 
	@Override 
	public int readUnsignedByte () throws IOException { 
		readBytes += 1;
		return in.readUnsignedByte();
	} 
 
	@Override 
	public short readShort () throws IOException { 
		readBytes += 2;
		return in.readShort();
	} 
 
	@Override 
	public int readUnsignedShort () throws IOException { 
		readBytes += 2;
		return in.readUnsignedShort();
	} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE