Get the sort key as an array of bytes from an UChar buffer. Sort key byte arrays are zero-terminated and can be compared using strcmp().
|source ||string to be processed. |
|sourceLength ||length of string to be processed. If -1, the string is 0 terminated and length will be decided by the function. |
|result ||buffer to store result in. If NULL, number of bytes needed will be returned. |
|resultLength ||length of the result buffer. If if not enough the buffer will be filled to capacity. |
- Number of bytes needed for storing the sort key ICU 1.8
Implemented in RuleBasedCollator.