Class FunctionSection.Builder

java.lang.Object
com.dylibso.chicory.wasm.types.FunctionSection.Builder
Enclosing class:
FunctionSection

public static final class FunctionSection.Builder extends Object
  • Method Details

    • addFunctionType

      public FunctionSection.Builder addFunctionType(int typeIndex)
      Add a function type index to this section.
      Parameters:
      typeIndex - the type index to add (should be a valid index into the type section)
      Returns:
      the Builder
    • build

      public FunctionSection build()