Create the public stream_t handle of the stream port from a borrower-facing virtual table, a backend pointer, and injected runtime dependencies.
out must not be NULL.vtbl must not be NULL.env must not be NULL.env->mem must not be NULL.vtbl->read must not be NULL.vtbl->write must not be NULL.vtbl->flush must not be NULL.vtbl->close must not be NULL.STREAM_STATUS_OK.stream_t handle in *out.stream_destroy().STREAM_STATUS_INVALID for invalid arguments.STREAM_STATUS_OOM on allocation failure.*out unchanged if out is not NULL.stream_create() validates the structural well-formedness of the borrower- facing virtual table at creation time.backend pointer is stored as provided in the created stream handle.stream_destroy() is the matching destructor for handles created by stream_create().