More correct string length handling
More correct string length handling

This makes it explicit that what we're trying to do is encode the string length in little-endian format, handles strings longer than 255 characters (which the app shouldn't do), and handles the case of running the app on a big-endian host (which I don't think exists for UWP).

parnic/samsungremote,parnic/samsungremotewp7