Buffer luau
From GiderosMobile
Supported platforms:
Available since: Gideros 2025.1
Description
This is the Luau buffer library implemented in Gideros.
Example
-- creates a buffer initialized to the contents of the string
local str = "Hello Gideros!"
b = buffer.fromstring(str)
print(buffer.len(b))
-- returns the buffer data as a string
print(buffer.tostring(b))
Reference
https://luau.org/library#buffer-library
https://create.roblox.com/docs/reference/engine/libraries/buffer
Methodsbuffer.create creates a buffer of the requested size with all bytes initialized to 0 |
EventsConstants |