Buffer:prepend
From GiderosMobile
Available since: Gideros 2020.2
Class: Buffer
Description
Adds data at the beginning of a Buffer object. <syntaxhighlight lang="lua"> (number) = Buffer:prepend(data) </source>
Parameters
data: (string) data to add
Return values
Returns (number) new buffer size