handles
Return true if this decoder supports decoding source.
Implementations must not consume the source, as this can cause subsequent calls to handles and decode to fail.
Prefer using BufferedSource.peek, BufferedSource.rangeEquals, or other non-destructive methods to check for the presence of header bytes or other markers. Implementations can also rely on mimeType, however it is not guaranteed to be accurate (e.g. a file that ends with .png, but is encoded as a .jpg).
Parameters
source
The BufferedSource to read from.
mime Type
An optional MIME type for the source.