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
  • Method Details

    • newMemory

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

      public void writeTo(TextWriter textWriter)
    • writeTo

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

      public void addMemoriesToIndex(List<Memory> memoryIndex)