Rename decodeStrings to decode
Add findEndOfString()