Buffer
A fixed block of bytes that you read and write yourself, used to send small, exact payloads.
Think of it as A strip of numbered boxes where you decide what goes in each one.
buffer.create(size) makes a block of zeroed bytes. buffer.writeu8, writeu16 and writef32 store a value in 1, 2 or 4 bytes at an offset, and the read functions take it back out. Networking libraries pack remote payloads into buffers to cut bandwidth. Both sides must agree on the layout.
Official reference: luau.org