[WIP] Adding decimal support

https://docs.oracle.com/javase/7/docs/api/java/nio/ByteBuffer.html#putInt(int) would be a bit simpler.