Package app.photofox.vipsffm.generated
Class _VipsSourceCustomClass
java.lang.Object
app.photofox.vipsffm.generated._VipsSourceCustomClass
- Direct Known Subclasses:
VipsSourceCustomClass
struct _VipsSourceCustomClass {
VipsSourceClass parent_class;
gint64 (*read)(VipsSourceCustom *, void *, gint64);
gint64 (*seek)(VipsSourceCustom *, gint64, int);
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classgint64 (*read)(VipsSourceCustom *, void *, gint64)static classgint64 (*seek)(VipsSourceCustom *, gint64, int) -
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentallocate(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()usingallocatorstatic MemorySegmentallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCountusingallocator.static MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static final GroupLayoutlayout()The layout of this structstatic MemorySegmentparent_class(MemorySegment struct) Getter for field:VipsSourceClass parent_classstatic voidparent_class(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsSourceClass parent_classstatic final GroupLayoutLayout for field:VipsSourceClass parent_classstatic final longOffset for field:VipsSourceClass parent_classstatic MemorySegmentread(MemorySegment struct) Getter for field:gint64 (*read)(VipsSourceCustom *, void *, gint64)static voidread(MemorySegment struct, MemorySegment fieldValue) Setter for field:gint64 (*read)(VipsSourceCustom *, void *, gint64)static final AddressLayoutLayout for field:gint64 (*read)(VipsSourceCustom *, void *, gint64)static final longOffset for field:gint64 (*read)(VipsSourceCustom *, void *, gint64)static MemorySegmentreinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentreinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentseek(MemorySegment struct) Getter for field:gint64 (*seek)(VipsSourceCustom *, gint64, int)static voidseek(MemorySegment struct, MemorySegment fieldValue) Setter for field:gint64 (*seek)(VipsSourceCustom *, gint64, int)static final AddressLayoutLayout for field:gint64 (*seek)(VipsSourceCustom *, gint64, int)static final longOffset for field:gint64 (*seek)(VipsSourceCustom *, gint64, int)static longsizeof()The size (in bytes) of this struct
-
Method Details
-
layout
The layout of this struct -
parent_class$layout
Layout for field:VipsSourceClass parent_class -
parent_class$offset
public static final long parent_class$offset()Offset for field:VipsSourceClass parent_class -
parent_class
Getter for field:VipsSourceClass parent_class -
parent_class
Setter for field:VipsSourceClass parent_class -
read$layout
Layout for field:gint64 (*read)(VipsSourceCustom *, void *, gint64) -
read$offset
public static final long read$offset()Offset for field:gint64 (*read)(VipsSourceCustom *, void *, gint64) -
read
Getter for field:gint64 (*read)(VipsSourceCustom *, void *, gint64) -
read
Setter for field:gint64 (*read)(VipsSourceCustom *, void *, gint64) -
seek$layout
Layout for field:gint64 (*seek)(VipsSourceCustom *, gint64, int) -
seek$offset
public static final long seek$offset()Offset for field:gint64 (*seek)(VipsSourceCustom *, gint64, int) -
seek
Getter for field:gint64 (*seek)(VipsSourceCustom *, gint64, int) -
seek
Setter for field:gint64 (*seek)(VipsSourceCustom *, gint64, int) -
asSlice
Obtains a slice ofarrayParamwhich selects the array element atindex. The returned segment has addressarrayParam.address() + index * layout().byteSize() -
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()usingallocator -
allocateArray
Allocate an array of sizeelementCountusingallocator. The returned segment has sizeelementCount * layout().byteSize(). -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizelayout().byteSize() -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizeelementCount * layout().byteSize()
-