Image_decode function

  1. @Native<Pointer<TLinearImage> Function(Pointer<Uint8>, Size, Pointer<Char>, Bool)>(ffi.Pointer<ffi.Uint8>, ffi.Size, ffi.Pointer<ffi.Char>, ffi.Bool)>(isLeaf: true)
Pointer<TLinearImage> Image_decode(
  1. Pointer<Uint8> data,
  2. int length,
  3. Pointer<Char> name,
  4. bool alpha,
)

Implementation

@ffi.Native<
    ffi.Pointer<TLinearImage> Function(ffi.Pointer<ffi.Uint8>, ffi.Size,
        ffi.Pointer<ffi.Char>, ffi.Bool)>(isLeaf: true)
external ffi.Pointer<TLinearImage> Image_decode(
  ffi.Pointer<ffi.Uint8> data,
  int length,
  ffi.Pointer<ffi.Char> name,
  bool alpha,
);