Package ch.bailu.gtk.gst
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.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungonMemoryCopyFunction
(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
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 #GstMemoryoffset
- an offsetsize
- a size or -1- Gibt zurück:
- a new #GstMemory object wrapping a copy of the requested region in @mem.
-