Difference between revisions of "Buffer.len"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2025.1<br/> '''Class:''' buffer_luau<br/> === Description === Returns the size of the buffer in bytes. <syntaxhighlight lang="lua...") |
(No difference)
|
Latest revision as of 03:18, 6 February 2025
Available since: Gideros 2025.1
Class: buffer_luau
Description
Returns the size of the buffer in bytes.
(number) = buffer.len(b)
Parameters
b: (buffer) the buffer
Return values
Returns (number) the size of the buffer in bytes
Example
local b: buffer = buffer.create(16)
print(buffer.len(b))