Buffer:set
From GiderosMobile
Available since: Gideros 2020.2
Class: Buffer
Description
Sets data in a Buffer object, extending it if necessary. <syntaxhighlight lang="lua"> (number) = Buffer:set(data,offset) </source>
Parameters
data: (string) data to set in the buffer
offset: (number) offset to write the data at optional
Return values
Returns (number) new buffer size