Add encoding/decoding for `varint` and `decimal`.
Add support for lz4 and snappy compression.