Schnittstelle Allocator.OnMemoryCopyFunction

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.OnMemoryCopyFunction
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    onMemoryCopyFunction(CallbackHandler __self, Memory mem, long offset, long size)
    Copy @size bytes from @mem starting at @offset and return them wrapped in a
    new GstMemory object.
  • Methodendetails

    • onMemoryCopyFunction

      Memory onMemoryCopyFunction(CallbackHandler __self, @Nonnull Memory mem, long offset, long size)
      Copy @size bytes from @mem starting at @offset and return them wrapped in a
      new GstMemory object.
      If @size is set to -1, all bytes starting at @offset are copied.
      Parameter:
      mem - a #GstMemory
      offset - an offset
      size - a size or -1
      Gibt zurück:
      a new #GstMemory object wrapping a copy of the requested region in @mem.