Compiled packed integer serializers.

Closes #136.