compareStrings
Compare two strings in the buffer.
Parameters
offsetA
An 'int' index of the first string into the bb.
offsetB
An 'int' index of the second string into the bb.
bb
A ReadWriteBuffer
to get the strings.
Compare string from the buffer with the 'String' object.
Parameters
offset
An 'int' index of the first string into the bb.
key
Second string as a byte array.
bb
A ReadWriteBuffer
to get the first string.