Package ch.bailu.gtk.gst
Schnittstelle Allocator.OnMemoryIsSpanFunction
- Umschließende Klasse:
Allocator
- Funktionsschnittstelle:
- Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
onMemoryIsSpanFunction
(CallbackHandler __self, Memory mem1, Memory mem2, Int64 offset) Check if @mem1 and @mem2 occupy contiguous memory and return the offset of
@mem1 in the parent buffer in @offset.
-
Methodendetails
-
onMemoryIsSpanFunction
boolean onMemoryIsSpanFunction(CallbackHandler __self, @Nonnull Memory mem1, @Nonnull Memory mem2, @Nonnull Int64 offset) Check if @mem1 and @mem2 occupy contiguous memory and return the offset of
@mem1 in the parent buffer in @offset.- Parameter:
mem1
- a #GstMemorymem2
- a #GstMemoryoffset
- a result offset- Gibt zurück:
- %TRUE if @mem1 and @mem2 are in contiguous memory.
-