(2)将buffer传入到lua时,使用lua_pushlstring(l, buf, bufSize)不要使用lua_pushstring 由于lua_pushstring的实现中,会使用strlen计算字符串长度, ...
確定! 回上一頁