Package app.photofox.vipsffm.generated
Class _VipsSourceGInputStream
java.lang.Object
app.photofox.vipsffm.generated._VipsSourceGInputStream
- Direct Known Subclasses:
VipsSourceGInputStream
struct _VipsSourceGInputStream {
VipsSource parent_instance;
GInputStream *stream;
GSeekable *seekable;
GFileInfo *info;
}
-
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 MemorySegmentinfo(MemorySegment struct) Getter for field:GFileInfo *infostatic voidinfo(MemorySegment struct, MemorySegment fieldValue) Setter for field:GFileInfo *infostatic final AddressLayoutLayout for field:GFileInfo *infostatic final longOffset for field:GFileInfo *infostatic final GroupLayoutlayout()The layout of this structstatic MemorySegmentparent_instance(MemorySegment struct) Getter for field:VipsSource parent_instancestatic voidparent_instance(MemorySegment struct, MemorySegment fieldValue) Setter for field:VipsSource parent_instancestatic final GroupLayoutLayout for field:VipsSource parent_instancestatic final longOffset for field:VipsSource parent_instancestatic 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 MemorySegmentseekable(MemorySegment struct) Getter for field:GSeekable *seekablestatic voidseekable(MemorySegment struct, MemorySegment fieldValue) Setter for field:GSeekable *seekablestatic final AddressLayoutLayout for field:GSeekable *seekablestatic final longOffset for field:GSeekable *seekablestatic longsizeof()The size (in bytes) of this structstatic MemorySegmentstream(MemorySegment struct) Getter for field:GInputStream *streamstatic voidstream(MemorySegment struct, MemorySegment fieldValue) Setter for field:GInputStream *streamstatic final AddressLayoutLayout for field:GInputStream *streamstatic final longOffset for field:GInputStream *stream
-
Method Details
-
layout
The layout of this struct -
parent_instance$layout
Layout for field:VipsSource parent_instance -
parent_instance$offset
public static final long parent_instance$offset()Offset for field:VipsSource parent_instance -
parent_instance
Getter for field:VipsSource parent_instance -
parent_instance
Setter for field:VipsSource parent_instance -
stream$layout
Layout for field:GInputStream *stream -
stream$offset
public static final long stream$offset()Offset for field:GInputStream *stream -
stream
Getter for field:GInputStream *stream -
stream
Setter for field:GInputStream *stream -
seekable$layout
Layout for field:GSeekable *seekable -
seekable$offset
public static final long seekable$offset()Offset for field:GSeekable *seekable -
seekable
Getter for field:GSeekable *seekable -
seekable
Setter for field:GSeekable *seekable -
info$layout
Layout for field:GFileInfo *info -
info$offset
public static final long info$offset()Offset for field:GFileInfo *info -
info
Getter for field:GFileInfo *info -
info
Setter for field:GFileInfo *info -
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()
-