write to the same buffer when encoding fields
Merge pull request #4 from jakesjews/master

No more immutable state for encoding