-- Compiled with roblox-ts v3.0.0 local function bufferToString(buf) local s = { "{ " } if buf ~= nil then do local i = 0 local _shouldIncrement = false while true do if _shouldIncrement then i += 1 else _shouldIncrement = true end if not (i < buffer.len(buf)) then break end local byte = buffer.readu8(buf, i) local _arg0 = tostring(byte) table.insert(s, _arg0) local _arg0_1 = if i < buffer.len(buf) - 1 then ", " else "" table.insert(s, _arg0_1) end end end table.insert(s, "}") return table.concat(s, "") end return { bufferToString = bufferToString, }