- getCharChunk
Returns the char chunk, representing the char[] and offset/length. Valid only if
T_CHARS or after a
- getByteChunk
Returns the byte chunk, representing the byte[] and offset/length. Valid only if
T_BYTES or after a
- getType
Return the type of the original content. Can be T_STR, T_BYTES, T_CHARS or
T_NULL
- newInstance
Construct a new MessageBytes instance
- recycle
Resets the message bytes to an uninitialized (NULL) state.
- setChars
Sets the content to be a char[]
- toChars
Convert to char[] and fill the CharChunk. XXX Not optimized - it converts to
String first.
- equals
Compares the message bytes to the specified String object.
- equalsIgnoreCase
Compares the message bytes to the specified String object.
- getString
Returns the string value. Valid only if T_STR or after a conversion was made.
- hash
- hashIgnoreCase