# lua_bufflib **Repository Path**: mirrors_LuaDist/lua_bufflib ## Basic Information - **Project Name**: lua_bufflib - **Description**: A library for string buffers in Lua. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-09 - **Last Updated**: 2026-01-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![Build Status](https://travis-ci.org/Choonster/lua_bufflib.png)](https://travis-ci.org/Choonster/lua_bufflib) lua\_bufflib =========== lua\_bufflib is a library that provides string buffers for Lua 5.1 and 5.2. The buffer code is largely based on Lua 5.2's [luaL_Buffer][] code. Installation ============ LuaRocks -------- lua\_bufflib can be installed through LuaRocks using `luarocks install lua_bufflib`. You can also run `luarocks make` on a downloaded and unpacked zip/tarball. Unix ------- On Unix systems, you can run the included build.sh script, which compiles the library using [libtool](http://www.gnu.org/software/libtool/). This probably won't work in Cygwin or MinGW. Windows -------- I've included a Visual Studio 2012 solution that can be used to compile the library on Windows. The solution includes predefined configurations for Lua 5.1, 5.2 and LuaJIT; but you may need to change the include directories (Properties > C/C++ > General > Additional Include Directories) and the Lua import library path (Properties > Linker > Input > Additional Dependencies) to match your setup. Documentation ============= Documentation can be found [here](http://choonster.github.io/lua_bufflib/) [luaL_Buffer]: http://www.lua.org/manual/5.2/manual.html#luaL_Buffer