Buffer:set

From GiderosMobile
Revision as of 10:01, 7 February 2020 by Hgy29 (talk | contribs) (Created page with "'''Available since:''' Gideros 2020.2<br/> '''Class:''' Buffer<br/> === Description === Sets data in a Buffer object, extending it if necess...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2020.2
Class: Buffer

Description

Sets data in a Buffer object, extending it if necessary.

(number) = Buffer:set(data,offset)

Parameters

data: (string) Data to set in the buffer offset: (number) Offset to write the data at

Return values

Returns (number) New buffer size.