public static KeysetWriter withOutputStream(OutputStream stream) {
    return new BinaryKeysetWriter(stream);
  }
Static method to create a BinaryKeysetWriter that writes to an {@link OutputStream}.

<p>{@code stream} will be immmediately closed after the keyset is written.
java_src/src/main/java/com/google/crypto/tink/BinaryKeysetWriter.java