@Override
  public Keyset read() throws IOException {
    try {
      return Keyset.parseFrom(inputStream, ExtensionRegistryLite.getEmptyRegistry());
    } finally {
      inputStream.close();
    }
  }
Static method to create a BinaryKeysetReader from a file.

<p>Note: the input file won't be read until {@link BinaryKeysetReader#read} or {@link
BinaryKeysetReader#readEncrypted} is called.

@deprecated Inline the function.
java_src/src/main/java/com/google/crypto/tink/BinaryKeysetReader.java