Returns the number of UTF-16 code units the buffer can hold without growing.
the allocated capacity, which is at least length.