升级录像格式,完善录像回放菜单

This commit is contained in:
MrZ626
2021-06-28 02:43:47 +08:00
parent 6cb81b461b
commit b0ecb28b48
7 changed files with 136 additions and 105 deletions

View File

@@ -81,6 +81,11 @@ do--function STRING.urlEncode(s)
end
end
function STRING.readLine(str)
local p=str:find("\n")
return str:sub(1,p-1),str:sub(p+1)
end
function STRING.packBin(s)
return data.encode('string','base64',data.compress('string','zlib',s))
end