Uses of Interface
java.lang.foreign.Addressable
Packages that use AddressablePREVIEW
Package
Description
Provides low-level access to memory and functions outside the Java runtime.
-
Uses of AddressablePREVIEW in java.lang.foreign
Subinterfaces of AddressablePREVIEW in java.lang.foreignModifier and TypeInterfaceDescriptioninterfacePreview.A memory address models a reference into a memory location.interfacePreview.A memory segment models a contiguous region of memory.interfacePreview.A variable argument list, similar in functionality to a Cva_list.Methods in java.lang.foreign with parameters of type AddressablePREVIEWModifier 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.default MethodHandleLinker.downcallHandle(AddressablePREVIEW symbol, FunctionDescriptorPREVIEW function) Creates a method handle which can be used to call a target foreign function with the given signature and address.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.