read

open fun read(is: InputStream, contentLength: Int): Int

Reads GIF image from stream.

Return

read status code (0 = no errors).

Parameters

is

containing GIF file.


open fun read(data: Array<Byte>): Int

Reads GIF image from byte array.

Return

read status code (0 = no errors).

Parameters

data

containing GIF file.