Class MemorySection

java.lang.Object
de.mirkosertic.bytecoder.core.backend.wasm.ast.ModuleSection
de.mirkosertic.bytecoder.core.backend.wasm.ast.MemorySection

public class MemorySection extends ModuleSection
  • Field Details

  • Constructor Details

    • MemorySection

      MemorySection(Module aModule)
  • Method Details

    • newMemory

      public Memory newMemory(int initialPages, int maximumPages)
    • indexOf

      int indexOf(Memory memory)
    • export

      void export(Memory memory, String objectName)
    • writeTo

      public void writeTo(TextWriter textWriter)
    • writeTo

      public void writeTo(BinaryWriter binaryWriter) throws IOException
      Throws:
      IOException
    • addMemoriesToIndex

      public void addMemoriesToIndex(List<Memory> memoryIndex)