| 18 | } |
| 19 | |
| 20 | int String_Length(const char* raw) { |
| 21 | int length = 0; |
| 22 | while (length < UInt16_MaxValue && *raw) { raw++; length++; } |
| 23 | return length; |
| 24 | } |
| 25 | |
| 26 | cc_string String_FromRaw(STRING_REF char* buffer, int capacity) { |
| 27 | return String_Init(buffer, String_CalcLen(buffer, capacity), capacity); |
no outgoing calls
no test coverage detected