Class InputSource.ByteArraySource

java.lang.Object
pl.droidsonroids.gif.InputSource
pl.droidsonroids.gif.InputSource.ByteArraySource
Enclosing class:
InputSource

public static final class InputSource.ByteArraySource
extends InputSource
Input using byte array as a source.
  • Constructor Details

    • ByteArraySource

      public ByteArraySource​(@NonNull byte[] bytes)
      Constructs new source. Array can be larger than size of the GIF data. Bytes beyond GIF terminator are not accessed.
      Parameters:
      bytes - source array