Interface MemorySegmentWritable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void write​(MemorySegment segment, int off, int len)
      Writes len bytes from memory segment segment starting at offset off, in order, to the output.
    • Method Detail

      • write

        void write​(MemorySegment segment,
                   int off,
                   int len)
            throws IOException
        Writes len bytes from memory segment segment starting at offset off, in order, to the output.
        Parameters:
        segment - memory segment to copy the bytes from.
        off - the start offset in the memory segment.
        len - The number of bytes to copy.
        Throws:
        IOException - if an I/O error occurs.