move binary conversion code to lbuffer.c
- [WIP]: move pack/unpack code to lbuffer.c