Memory.resize

Resize the memory region. @mem should be writable and offset + size should be less than the maxsize of @mem.

#GST_MEMORY_FLAG_ZERO_PREFIXED and #GST_MEMORY_FLAG_ZERO_PADDED will be cleared when offset or padding is increased respectively.

class Memory
void
resize
(
ptrdiff_t offset
,
size_t size
)

Parameters

offset ptrdiff_t

a new offset

size size_t

a new size

Meta