Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function verify_bytecode(arg)
- local bytecode = string.sub(string, 1, 1)
- if bytecode == "u" then
- return string.sub(arg, 2)
- elseif bytecode~ = "c" then
- error("Failed to verify bytecode,Lua implementation supports non-null terminated strings?")
- end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement