Package java.lang.foreign
Interface MemorySegment
-
public interface MemorySegment
-
-
Field Summary
Fields Modifier and Type Field Description static MemorySegmentNULL
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description longaddress()java.nio.ByteBufferasByteBuffer()static MemorySegmentofAddress(long address)MemorySegmentreinterpret(long newSize)
-
-
-
Field Detail
-
NULL
static final MemorySegment NULL
-
-
Method Detail
-
address
long address()
-
reinterpret
MemorySegment reinterpret(long newSize)
-
asByteBuffer
java.nio.ByteBuffer asByteBuffer()
-
ofAddress
static MemorySegment ofAddress(long address)
-
-