Maintain persistent buffer for encoding varints.