Uses of Class
java.lang.foreign.ValueLayout.OfAddress
Packages that use ValueLayout.OfAddressPREVIEW
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
-
Uses of ValueLayout.OfAddressPREVIEW in java.lang.foreign
Fields in java.lang.foreign declared as ValueLayout.OfAddressPREVIEWModifier and TypeFieldDescriptionstatic final ValueLayout.OfAddressPREVIEWValueLayout.ADDRESSA value layout constant whose size is the same as that of a machine address (size_t), bit alignment set tosizeof(size_t) * 8, and byte order set toByteOrder.nativeOrder().Methods in java.lang.foreign that return ValueLayout.OfAddressPREVIEWMethods in java.lang.foreign with parameters of type ValueLayout.OfAddressPREVIEWModifier and TypeMethodDescriptionVaList.Builder.addVarg(ValueLayout.OfAddressPREVIEW layout, AddressablePREVIEW value) Writes anAddressablevalue to the variable argument list being constructed.default MemorySegmentPREVIEWSegmentAllocator.allocate(ValueLayout.OfAddressPREVIEW layout, AddressablePREVIEW value) Allocates a memory segment with the given layout and initializes it with the given address value.MemoryAddress.get(ValueLayout.OfAddressPREVIEW layout, long offset) Reads an address from this address at the given offset, with the given layout.default MemoryAddressPREVIEWMemorySegment.get(ValueLayout.OfAddressPREVIEW layout, long offset) Reads an address from this segment at the given offset, with the given layout.MemoryAddress.getAtIndex(ValueLayout.OfAddressPREVIEW layout, long index) Reads an address from this address at the given index, scaled by the given layout size.default MemoryAddressPREVIEWMemorySegment.getAtIndex(ValueLayout.OfAddressPREVIEW layout, long index) Reads an address from this segment at the given index, scaled by the given layout size.VaList.nextVarg(ValueLayout.OfAddressPREVIEW layout) Reads the next value as aMemoryAddressand advances this variable argument list's position.voidMemoryAddress.set(ValueLayout.OfAddressPREVIEW layout, long offset, AddressablePREVIEW value) Writes an address into this address at the given offset, with the given layout.default voidMemorySegment.set(ValueLayout.OfAddressPREVIEW layout, long offset, AddressablePREVIEW value) Writes an address into this segment at the given offset, with the given layout.voidMemoryAddress.setAtIndex(ValueLayout.OfAddressPREVIEW layout, long index, AddressablePREVIEW value) Writes an address into this address at the given index, scaled by the given layout size.default voidMemorySegment.setAtIndex(ValueLayout.OfAddressPREVIEW layout, long index, AddressablePREVIEW value) Writes an address into this segment at the given index, scaled by the given layout size.