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.

@FunctionalInterface public static interface Allocator.OnMemoryIsSpanFunction
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    boolean
    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 #GstMemory
      mem2 - a #GstMemory
      offset - a result offset
      Gibt zurück:
      %TRUE if @mem1 and @mem2 are in contiguous memory.