---
title: "truffle-nfi"
kind: "module"
module: "truffle-nfi"
version: "25.6.0-elide.4"
canonical: "https://graalvm.elide.help/25.6.0-elide.4/api/truffle-nfi/index.html"
---

# ⬢ truffle-nfi 25.6.0-elide.4

Every page: [llms.txt](llms.txt), or all in one file: [llms-full.txt](llms-full.txt)

API reference for truffle-nfi.

## Packages

- [`com.oracle.truffle.nfi`](com/oracle/truffle/nfi/index.md): No description.
- [`com.oracle.truffle.nfi.api`](com/oracle/truffle/nfi/api/index.md): No description.
- [`com.oracle.truffle.nfi.backend.spi`](com/oracle/truffle/nfi/backend/spi/index.md): No description.
- [`com.oracle.truffle.nfi.backend.spi.types`](com/oracle/truffle/nfi/backend/spi/types/index.md): No description.
- [`com.oracle.truffle.nfi.backend.spi.util`](com/oracle/truffle/nfi/backend/spi/util/index.md): No description.

## Types in `com.oracle.truffle.nfi`

- [`NFILanguage`](com/oracle/truffle/nfi/NFILanguage.md) (class): No description.
- [`NFILanguageProvider`](com/oracle/truffle/nfi/NFILanguageProvider.md) (class): No description.
- [`NFIPointerGen`](com/oracle/truffle/nfi/NFIPointerGen.md) (class): No description.
- [`NFIPointerGen.NativePointerLibraryEagerProvider`](com/oracle/truffle/nfi/NFIPointerGen.NativePointerLibraryEagerProvider.md) (class): No description.
- [`NFISignatureGen`](com/oracle/truffle/nfi/NFISignatureGen.md) (class): No description.
- [`NFISignatureGen.SignatureLibraryEagerProvider`](com/oracle/truffle/nfi/NFISignatureGen.SignatureLibraryEagerProvider.md) (class): No description.
- [`NFISymbolGen`](com/oracle/truffle/nfi/NFISymbolGen.md) (class): No description.
- [`NFISymbolGen.NativePointerLibraryEagerProvider`](com/oracle/truffle/nfi/NFISymbolGen.NativePointerLibraryEagerProvider.md) (class): No description.

## Types in `com.oracle.truffle.nfi.api`

- [`LongNativePointerLibraryGen`](com/oracle/truffle/nfi/api/LongNativePointerLibraryGen.md) (class): No description.
- [`LongNativePointerLibraryGen.NativePointerLibraryEagerProvider`](com/oracle/truffle/nfi/api/LongNativePointerLibraryGen.NativePointerLibraryEagerProvider.md) (class): No description.
- [`NativePointerLibrary`](com/oracle/truffle/nfi/api/NativePointerLibrary.md) (abstract class): This library contains a subset of com.oracle.truffle.api.interop.InteropLibrary messages exported by some NFI objects.
- [`SerializableLibrary`](com/oracle/truffle/nfi/api/SerializableLibrary.md) (abstract class): No description.
- [`SignatureLibrary`](com/oracle/truffle/nfi/api/SignatureLibrary.md) (abstract class): No description.

## Types in `com.oracle.truffle.nfi.backend.spi`

- [`BackendNativePointerLibrary`](com/oracle/truffle/nfi/backend/spi/BackendNativePointerLibrary.md) (abstract class): No description.
- [`NFIBackend`](com/oracle/truffle/nfi/backend/spi/NFIBackend.md) (interface): Implementation interface for Truffle NFI backends.
- [`NFIBackendFactory`](com/oracle/truffle/nfi/backend/spi/NFIBackendFactory.md) (interface): Service interface for languages that implement a backend for the Truffle NFI.
- [`NFIBackendLibrary`](com/oracle/truffle/nfi/backend/spi/NFIBackendLibrary.md) (abstract class): No description.
- [`NFIBackendSignatureBuilderLibrary`](com/oracle/truffle/nfi/backend/spi/NFIBackendSignatureBuilderLibrary.md) (abstract class): No description.
- [`NFIBackendSignatureLibrary`](com/oracle/truffle/nfi/backend/spi/NFIBackendSignatureLibrary.md) (abstract class): Library that specifies the protocol between the Truffle NFI and its backend implementations.
- [`NFIState`](com/oracle/truffle/nfi/backend/spi/NFIState.md) (class): Thread-local state of the NFI that is shared between different backends.

## Types in `com.oracle.truffle.nfi.backend.spi.types`

- [`NativeLibraryDescriptor`](com/oracle/truffle/nfi/backend/spi/types/NativeLibraryDescriptor.md) (class): Parsed representation of library descriptors of the Truffle NFI.
- [`NativeSimpleType`](com/oracle/truffle/nfi/backend/spi/types/NativeSimpleType.md) (enum class): No description.
- [`TypeFactory`](com/oracle/truffle/nfi/backend/spi/types/TypeFactory.md) (abstract class): No description.

## Types in `com.oracle.truffle.nfi.backend.spi.util`

- [`ProfiledArrayBuilder`](com/oracle/truffle/nfi/backend/spi/util/ProfiledArrayBuilder.md) (class): No description.
- [`ProfiledArrayBuilder.ArrayBuilderFactory`](com/oracle/truffle/nfi/backend/spi/util/ProfiledArrayBuilder.ArrayBuilderFactory.md) (abstract class): No description.
- [`ProfiledArrayBuilder.ArrayFactory`](com/oracle/truffle/nfi/backend/spi/util/ProfiledArrayBuilder.ArrayFactory.md) (interface): No description.
