I forgot that the length of the string is TWICE the size of the byte array. This caused the wrong number to be attempted to be matched.