fixed string comparisons to work as byte buffer comparisons