+ Code makeup: signature of 'decodeString'
+ Unify error message for string and bytearray reference miss
+ Unify function signatures, error messages and code structure
+ Overall makeup