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();
	} 
 
	@Override