No more string comparions to check for types, generic version of ByteArrayToObject does conversion.
Merge pull request #45 from PhonicUK/master

Mostly cleanup, faster comparisons.