Package pl.droidsonroids.gif
Class InputSource.DirectByteBufferSource
java.lang.Object
pl.droidsonroids.gif.InputSource
pl.droidsonroids.gif.InputSource.DirectByteBufferSource
- Enclosing class:
- InputSource
public static final class InputSource.DirectByteBufferSource extends InputSource
Input using
ByteBuffer as a source. It must be direct.-
Nested Class Summary
Nested classes/interfaces inherited from class pl.droidsonroids.gif.InputSource
InputSource.AssetFileDescriptorSource, InputSource.AssetSource, InputSource.ByteArraySource, InputSource.DirectByteBufferSource, InputSource.FileDescriptorSource, InputSource.FileSource, InputSource.InputStreamSource, InputSource.ResourcesSource, InputSource.UriSource -
Constructor Summary
Constructors Constructor Description DirectByteBufferSource(ByteBuffer byteBuffer)Constructs new source. -
Method Summary
-
Constructor Details
-
DirectByteBufferSource
Constructs new source. Buffer can be larger than size of the GIF data. Bytes beyond GIF terminator are not accessed.- Parameters:
byteBuffer- source buffer, must be direct
-