ByteCountToCells
- Синтаксис
-
stock ByteCountToCells(size) { if (!size) { return 1; } return (size + 3) / 4; }
Переменная | Описание |
---|---|
size |
Number of bytes. |
- Описание
- Returns the number of cells required to fit a string of the specified size (including the null terminator).
- Возвращает
- Minimum number of cells required to fit the byte count.