Difference between revisions of "Buffer:append"

From GiderosMobile
Line 3: Line 3:
  
 
=== Description ===
 
=== Description ===
Adds data at the end of a [[Special:MyLanguage/Buffer|Buffer]] object.
+
Adds data at the end of a '''Buffer''' object.
 
<source lang="lua">
 
<source lang="lua">
 
(number) = Buffer:append(data)
 
(number) = Buffer:append(data)
Line 9: Line 9:
  
 
=== Parameters ===
 
=== Parameters ===
'''data''': (string) Data to add
+
'''data''': (string) data to add<br/>
  
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) New buffer size.<br/>
+
'''Returns''' (number) new buffer size<br/>
  
 
{{Buffer}}
 
{{Buffer}}

Revision as of 01:52, 23 March 2022

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