Class Global


  • class Global
    extends SectionEntry
    An entry in the global section of the WebAssembly.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int id  
      (package private) boolean mutability  
      (package private) AnyType type  
    • Constructor Summary

      Constructors 
      Constructor Description
      Global()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) void writeSectionEntry​(WasmOutputStream stream)
      Write this single entry to a section
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • id

        int id
      • mutability

        boolean mutability
    • Constructor Detail

      • Global

        Global()
    • Method Detail

      • writeSectionEntry

        void writeSectionEntry​(WasmOutputStream stream)
                        throws java.io.IOException
        Write this single entry to a section
        Specified by:
        writeSectionEntry in class SectionEntry
        Parameters:
        stream - the target
        Throws:
        java.io.IOException - if any I/O error occur