Package ej.wasi.io

Interface WritableIO

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void write​(byte[] buffer, int offset, int length)
      Writes length bytes from t he specified byte array starting at offset offset to this WasiIO.
    • Method Detail

      • write

        void write​(byte[] buffer,
                   int offset,
                   int length)
            throws IOException
        Writes length bytes from t he specified byte array starting at offset offset to this WasiIO.
        Parameters:
        buffer - the data to write.
        offset - the starting offset.
        length - the number of bytes to write.
        Throws:
        IOException - if an I/O error occurs.