HeifContext(ReadOnlyMemoryByte) Constructor
Initializes a new instance of the
HeifContext class, with the specified memory to read from.
Namespace: LibHeifSharpAssembly: LibHeifSharp (in LibHeifSharp.dll) Version: 3.2.0
public HeifContext(
ReadOnlyMemory<byte> bytes
)
Public Sub New (
bytes As ReadOnlyMemory(Of Byte)
)
public:
HeifContext(
ReadOnlyMemory<unsigned char>^ bytes
)
new :
bytes : ReadOnlyMemory<byte> -> HeifContext
Parameters
- bytes ReadOnlyMemoryByte
- A sequence of bytes that contains the HEIF image.
ArgumentException | bytes is empty. |
HeifException |
Unable to create the native HeifContext.
-or-
The LibHeif version is not supported.
-or-
A LibHeif error occurred.
|