java.lang.Object
tech.deplant.java4ever.ffi.tc_string_data_t
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MemoryLayout
$LAYOUT()
static MemorySegment
allocate
(ResourceScope scope) static MemorySegment
allocate
(SegmentAllocator allocator) static MemorySegment
allocateArray
(int len, ResourceScope scope) static MemorySegment
allocateArray
(int len, SegmentAllocator allocator) static MemoryAddress
content$get
(MemorySegment seg) static MemoryAddress
content$get
(MemorySegment seg, long index) static void
content$set
(MemorySegment seg, long index, MemoryAddress x) static void
content$set
(MemorySegment seg, MemoryAddress x) static VarHandle
static int
len$get
(MemorySegment seg) static int
len$get
(MemorySegment seg, long index) static void
len$set
(MemorySegment seg, int x) static void
len$set
(MemorySegment seg, long index, int x) static VarHandle
len$VH()
static MemorySegment
ofAddress
(MemoryAddress addr, ResourceScope scope) static MemorySegment
ofString
(String text, ResourceScope scope) static long
sizeof()
static String
toString
(MemorySegment seg, ResourceScope scope)
-
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
-
allocate
-
allocateArray
-
allocateArray
-
ofAddress
-
ofString
-
toString
-