Readme syntax highlighting

Just to make things more readable <3
This commit is contained in:
Ruairidh Carmichael 2016-04-03 19:14:14 +01:00
parent 2ad9e981bd
commit 2289d5a380

View File

@ -5,6 +5,7 @@
Serializes and deserializes Lua values with LuaJIT.
```lua
local bitser = require 'bitser'
bitser.register('someResource', someResource)
@ -14,6 +15,7 @@ Serializes and deserializes Lua values with LuaJIT.
someValue = bitser.loads(serializedString)
serializedData = love.filesystem.newFileData("filename")
someValue = bitser.loadData(serializedData:getPointer(), serializedData:getSize())
```
Pull requests, bug reports and other feedback welcome! :heart: