Skip to content

IImageDecoder.CanDecode method

Returns whether this decoder can handle the provided encoded bytes; implementations should be fast and avoid allocations.

public bool CanDecode(ReadOnlySpan<byte> encoded)