IImageDecoder.TryDecode method
Attempts to decode the provided encoded bytes.
public bool TryDecode(ReadOnlySpan<byte> encoded, out Bgra32PixelBuffer bitmap)| parameter | description |
|---|---|
| encoded | Encoded image bytes. |
| bitmap | Decoded bitmap on success. |
Return Value
Section titled “Return Value”true if decoding succeeded; otherwise, false.
See Also
Section titled “See Also”- struct Bgra32PixelBuffer
- interface IImageDecoder
- namespace Aprillz.MewUI.Resources