HeifContext(Stream, Boolean) Constructor
Initializes a new instance of the
HeifContext class with the specified stream to read from, and optionally leaves the stream open.
Namespace: LibHeifSharpAssembly: LibHeifSharp (in LibHeifSharp.dll) Version: 3.2.0
public HeifContext(
Stream stream,
bool leaveOpen = false
)
Public Sub New (
stream As Stream,
Optional leaveOpen As Boolean = false
)
public:
HeifContext(
Stream^ stream,
bool leaveOpen = false
)
new :
stream : Stream *
?leaveOpen : bool
(* Defaults:
let _leaveOpen = defaultArg leaveOpen false
*)
-> HeifContext
Parameters
- stream Stream
- The stream to read from.
- leaveOpen Boolean (Optional)
- to leave the stream open after the HeifContext object is disposed; otherwise, .