Difference between revisions of "Buffer:append"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
=== Description === | === Description === | ||
− | Adds data at the end of a | + | Adds data at the end of a '''Buffer''' object. |
− | < | + | <syntaxhighlight lang="lua"> |
(number) = Buffer:append(data) | (number) = Buffer:append(data) | ||
− | </ | + | </syntaxhighlight> |
=== Parameters === | === Parameters === | ||
− | '''data''': (string) | + | '''data''': (string) data to add<br/> |
=== Return values === | === Return values === | ||
− | '''Returns''' (number) | + | '''Returns''' (number) new buffer size<br/> |
{{Buffer}} | {{Buffer}} |
Latest revision as of 14:27, 13 July 2023
Available since: Gideros 2020.2
Class: Buffer
Description
Adds data at the end of a Buffer object.
(number) = Buffer:append(data)
Parameters
data: (string) data to add
Return values
Returns (number) new buffer size