ByteCountToCells Function

Given a maximum string size (including the null terminator), returns the number of cells required to fit that string.

int ByteCountToCells(int size)

Parameters

int size

Number of bytes.

Return Value

Minimum number of cells required to fit the byte count.