docs: public static String decodeString(InputStream stream) throws IOException {
  		byte[] completeBuffer = new byte[0];
  		final byte[] buffer = new byte[BUFFER_SIZE];
  		int read;
  		while ((read = stream.read(buffer)) > 0) {
  			final byte[] tmp = new byte[completeBuffer.length + read];
  			System.arraycopy(completeBuffer, 0, tmp, 0, completeBuffer.length);
  			System.arraycopy(buffer, 0, tmp, completeBuffer.length, read);
  			completeBuffer = tmp;
  		}
  		return decodeString(completeBuffer);
  	}