function readArrayOfPositiveIntegers(cAddress, count) {
    const out = [];
    for (let i = 0; i < count; i++) {
        const int = C.getValue(cAddress + SZ_INT * i, 'i32');
        if (int >= 0) {
            out.push(int);
        }
    }
    return out;
}
Read an array of positive integers array from C. Negative
values are considered invalid and ignored in output.
@private
@param  {number} cAddress    Pointer to C array
@param  {number} count       Length of C array
@return {number[]}           Javascript integer array