@Internal public interface MemorySegmentWritable
|Modifier and Type||Method and Description|
void write(MemorySegment segment, int off, int len) throws IOException
lenbytes from memory segment
segmentstarting at offset
off, in order, to the output.
segment- memory segment to copy the bytes from.
off- the start offset in the memory segment.
len- The number of bytes to copy.
IOException- if an I/O error occurs.
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.