java.lang.Object
tech.deplant.java4ever.binding.ffi.tc_string_data_t
tc_string_data_t relies on preview features of the Java platform:
tc_string_data_trefers to one or more preview APIs:MemoryAddress,MemoryLayout,MemorySegment,MemorySession,SegmentAllocator.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayoutPREVIEW$LAYOUT()static MemorySegmentPREVIEWallocate(SegmentAllocatorPREVIEW allocator) static MemorySegmentPREVIEWallocateArray(int len, SegmentAllocatorPREVIEW allocator) static MemoryAddressPREVIEWstatic MemoryAddressPREVIEWcontent$get(MemorySegmentPREVIEW seg, long index) static voidcontent$set(MemorySegmentPREVIEW seg, long index, MemoryAddressPREVIEW x) static voidstatic VarHandlestatic intstatic intlen$get(MemorySegmentPREVIEW seg, long index) static voidlen$set(MemorySegmentPREVIEW seg, int x) static voidlen$set(MemorySegmentPREVIEW seg, long index, int x) static VarHandlelen$VH()static MemorySegmentPREVIEWofAddress(MemoryAddressPREVIEW addr, MemorySessionPREVIEW session) static longsizeof()
-
Constructor Details
-
tc_string_data_t
public tc_string_data_t()
-
-
Method Details
-
$LAYOUT
-
content$VH
-
content$get
-
content$set
-
content$get
-
content$set
-
len$VH
-
len$get
-
len$set
-
len$get
-
len$set
-
sizeof
public static long sizeof() -
allocate
-
allocateArray
-
ofAddress
public static MemorySegmentPREVIEW ofAddress(MemoryAddressPREVIEW addr, MemorySessionPREVIEW session)
-
tc_string_data_twhen preview features are enabled.