Compiled length-encoded array serializers.

Closes #134.