ma_vfs_open_and_read_file function

ma_result ma_vfs_open_and_read_file(
  1. Pointer<Void> pVFS,
  2. Pointer<Char> pFilePath,
  3. Pointer<Pointer<Void>> ppData,
  4. Pointer<Size> pSize,
  5. Pointer<ma_allocation_callbacks> pAllocationCallbacks,
)

Implementation

ma_result ma_vfs_open_and_read_file(
  ffi.Pointer<ma_vfs> pVFS,
  ffi.Pointer<ffi.Char> pFilePath,
  ffi.Pointer<ffi.Pointer<ffi.Void>> ppData,
  ffi.Pointer<ffi.Size> pSize,
  ffi.Pointer<ma_allocation_callbacks> pAllocationCallbacks,
) => ma_result.fromValue(
  _ma_vfs_open_and_read_file(
    pVFS,
    pFilePath,
    ppData,
    pSize,
    pAllocationCallbacks,
  ),
);