Documentation
Dlang.org
Buffer.replaceMemory
gst
buffer
Buffer
Replaces the memory block at index idx in buffer with mem.
class
Buffer
void
replaceMemory
(
uint
idx
,
gst.memory.Memory
mem
)
Parameters
idx
uint
an index
mem
gst
.
memory
.
Memory
a #GstMemory
gst
buffer
Buffer
constructors
this
functions
addCustomMeta
addMeta
addParentBufferMeta
addProtectionMeta
addReferenceTimestampMeta
append
appendMemory
appendRegion
copyDeep
copyInto
copyRegion
extractDup
fill
findMemory
foreachMeta
getAllMemory
getCustomMeta
getFlags
getMemory
getMemoryRange
getMeta
getNMeta
getReferenceTimestampMeta
getSize
getSizes
getSizesRange
hasFlags
insertMemory
isAllMemoryWritable
isMemoryRangeWritable
map
mapRange
memcmp
memset
nMemory
peekMemory
prependMemory
removeAllMemory
removeMemory
removeMemoryRange
removeMeta
replaceAllMemory
replaceMemory
replaceMemoryRange
resize
resizeRange
setFlags
setSize
unmap
unsetFlags
static functions
getMaxMemory
newAllocate
newMemdup
newWrappedBytes
newWrappedFull
Replaces the memory block at index idx in buffer with mem.