Use varint to encode lengths.
Update docs.
2.0.0
3.0.0