Handle decoding into Go arrays

A straightforward change (I think).

Please let me know if there's any accompanying doc changes you'd like me to make. It wasn't obvious where they should go, or if any were needed.

Fixes #20.