public static KeysetReader withInputStream(InputStream stream) {
    return new BinaryKeysetReader(stream);
  }
Static method to create a BinaryKeysetReader from an {@link InputStream}.

<p>Note: the input stream won't be read until {@link BinaryKeysetReader#read} or {@link
BinaryKeysetReader#readEncrypted} is called, and will be closed immediately after the keyset is
read.
java_src/src/main/java/com/google/crypto/tink/BinaryKeysetReader.java