Buffer:getSize

Edit

Returns the size of the Buffer, in bytes. This is the same as length * stride.

size = Buffer:getSize()

Arguments

None

Returns

NameTypeDescription
sizenumber The size of the Buffer, in bytes.

See also