Difference between revisions of "Buffer.new"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
Creates a new '''Buffer''' object.
 
Creates a new '''Buffer''' object.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
Buffer.new(name)
 
Buffer.new(name)
 
</source>
 
</source>

Revision as of 14:26, 13 July 2023

Available since: Gideros 2020.2
Class: Buffer

Description

Creates a new Buffer object. <syntaxhighlight lang="lua"> Buffer.new(name) </source>

Parameters

name: (string) the buffer name