Revert "Use Varint for writing varints. Need to fix the reference encoding in that crate"
Revert "Use Varint for writing varints. Need to fix the reference encoding in that crate"

This reverts commit 21563af9bca02f71007f87f257dcf2dfc34ebd60.

Techern/Netherrack