public interface MemorySegmentWritable
Modifier and Type | Method and 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. |
void write(MemorySegment segment, int off, int len) throws IOException
len
bytes from memory segment segment
starting 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 © 2023–2024 The Apache Software Foundation. All rights reserved.