Interface RangeCopyable<M>
-
- Type Parameters:
M- object type for copy target
- All Known Implementing Classes:
FileMappedMemoryRegion,MappedMemoryBase,MemoryBase,OffHeapMemory
public interface RangeCopyable<M>Memory objects implementing this interface can copy a range of their contents to a generic destination.- Author:
- royer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcopyRangeTo(long pSourceOffset, M pTo, long pDestinationOffset, long pLengthToCopy)Copies range (offset_src,length) from this memory object to the range (offset_src,length) of a generic destination.
-
-
-
Method Detail
-
copyRangeTo
void copyRangeTo(long pSourceOffset, M pTo, long pDestinationOffset, long pLengthToCopy)Copies range (offset_src,length) from this memory object to the range (offset_src,length) of a generic destination.- Parameters:
pSourceOffset- source offsetpTo- destinationpDestinationOffset- destination offsetpLengthToCopy- length to copy in bytes.
-
-