Uses of Class
jdk.incubator.foreign.ValueLayout.OfAddress
Packages that use ValueLayout.OfAddress
Package
Description
Classes to support low-level and efficient foreign memory/function access, directly from Java.
-
Uses of ValueLayout.OfAddress in jdk.incubator.foreign
Fields in jdk.incubator.foreign declared as ValueLayout.OfAddressModifier and TypeFieldDescriptionstatic final ValueLayout.OfAddressValueLayout.ADDRESSA value layout constant whose size is the same as that of a machine address (size_t), bit alignment set to 8, and byte order set toByteOrder.nativeOrder().Methods in jdk.incubator.foreign that return ValueLayout.OfAddressMethods in jdk.incubator.foreign with parameters of type ValueLayout.OfAddressModifier and TypeMethodDescriptionVaList.Builder.addVarg(ValueLayout.OfAddress layout, Addressable value) Writes anAddressablevalue to the variable argument list being constructed.default MemorySegmentSegmentAllocator.allocate(ValueLayout.OfAddress layout, Addressable value) Allocate a memory segment with given layout and initialize it with given address value (expressed as anAddressableinstance).MemoryAddress.get(ValueLayout.OfAddress layout, long offset) Reads an address from this address and offset with given layout.default MemoryAddressMemorySegment.get(ValueLayout.OfAddress layout, long offset) Reads an address from this segment and offset with given layout.MemoryAddress.getAtIndex(ValueLayout.OfAddress layout, long index) Reads an address from this address and index, scaled by given layout size.default MemoryAddressMemorySegment.getAtIndex(ValueLayout.OfAddress layout, long index) Reads an address from this segment and index, scaled by given layout size.VaList.nextVarg(ValueLayout.OfAddress layout) Reads the next value as aMemoryAddressand advances this variable argument list's position.voidMemoryAddress.set(ValueLayout.OfAddress layout, long offset, Addressable value) Writes an address to this address instance and offset with given layout.default voidMemorySegment.set(ValueLayout.OfAddress layout, long offset, Addressable value) Writes an address to this segment and offset with given layout.voidMemoryAddress.setAtIndex(ValueLayout.OfAddress layout, long index, Addressable value) Writes an address to this address instance and index, scaled by given layout size.default voidMemorySegment.setAtIndex(ValueLayout.OfAddress layout, long index, Addressable value) Writes an address to this segment and index, scaled by given layout size.