code: public static Scan convertStringToScan(String base64) throws IOException {
  		ByteArrayInputStream bis = new ByteArrayInputStream(Base64.decode(base64));
  		DataInputStream dis = new DataInputStream(bis);
  		Scan scan = new Scan();
  		scan.readFields(dis);
  		return scan;
  	}
docs: Converts the given Base64 string back into a Scan instance.
  
  @param base64
  The scan details.
  @return The newly created Scan instance.
  @throws IOException
  When reading the scan instance fails.