Implement Encode and Decode for empty arrays (#224)

7 jobs for master in 16 minutes and 57 seconds (queued for 2 seconds)