Update USAGE.md

This commit is contained in:
Robin Wellner 2017-01-10 14:38:59 +01:00 committed by GitHub
parent 6403e4cc6b
commit b2365c4c0c

View File

@ -129,6 +129,14 @@ value = bitser.loadData(light_userdata, size)
Deserializes `value` from raw data. You probably won't need to use this function ever.
When running [LÖVE](https://love2d.org/), you would use it like this:
```lua
value = bitser.loadData(data:getPointer(), data:getSize())
```
Where `data` is an instance of a subclass of [Data](https://love2d.org/wiki/Data).
## loadLoveFile
```lua