Documentation
Dlang.org
Buffer.setSize
gst
buffer
Buffer
Sets the total size of the memory blocks in buffer.
class
Buffer
void
setSize
(
ptrdiff_t
size
)
Parameters
size
ptrdiff_t
the new size
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
Sets the total size of the memory blocks in buffer.