Migrate decode and encode helpers
Migrate decode and encode helpers

snuggs/snuggsi,devpunks/snuggsi,snuggs/snuggsi,devpunks/snuggsi,snuggs/snuggsi,devpunks/snuggsi,snuggs/snuggsi,devpunks/snuggsi,devpunks/snuggsi