Package org.apache.flink.core.memory
Interface MemorySegmentWritable
-
- All Known Implementing Classes:
DataOutputSerializer
@Internal public interface MemorySegmentWritableProvides the interface for write(Segment).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwrite(MemorySegment segment, int off, int len)Writeslenbytes from memory segmentsegmentstarting at offsetoff, in order, to the output.
-
-
-
Method Detail
-
write
void write(MemorySegment segment, int off, int len) throws IOException
Writeslenbytes from memory segmentsegmentstarting at offsetoff, 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.
-
-