function $0b4b8223d505c909$var$utf8CheckIncomplete(self, buf, i) {
    var j = buf.length - 1;
    if (j < i) return 0;
    var nb = $0b4b8223d505c909$var$utf8CheckByte(buf[j]);
    if (nb >= 0) {
        if (nb > 0) self.lastNeed = nb - 1;
        return nb;
    }
    if (--j < i || nb === -2) return 0;
    nb = $0b4b8223d505c909$var$utf8CheckByte(buf[j]);
    if (nb >= 0) {
        if (nb > 0) self.lastNeed = nb - 2;
        return nb;
    }
    if (--j < i || nb === -2) return 0;
    nb = $0b4b8223d505c909$var$utf8CheckByte(buf[j]);
    if (nb >= 0) {
        if (nb > 0) {
            if (nb === 2) nb = 0;
            else self.lastNeed = nb - 3;
        }
        return nb;
    }
    return 0;
}
// needed to complete the UTF-8 character (if applicable) are returned.
needed to complete the UTF-8 character (if applicable) are returned.
needed to complete the UTF - 8 character ( if applicable ) are returned .
function $0b4b8223d505c909$var$utf8CheckIncomplete(self, buf, i) {
    var j = buf.length - 1;
    if (j < i) return 0;
    var nb = $0b4b8223d505c909$var$utf8CheckByte(buf[j]);
    if (nb >= 0) {
        if (nb > 0) self.lastNeed = nb - 1;
        return nb;
    }
    if (--j < i || nb === -2) return 0;
    nb = $0b4b8223d505c909$var$utf8CheckByte(buf[j]);
    if (nb >= 0) {
        if (nb > 0) self.lastNeed = nb - 2;
        return nb;
    }
    if (--j < i || nb === -2) return 0;
    nb = $0b4b8223d505c909$var$utf8CheckByte(buf[j]);
    if (nb >= 0) {
        if (nb > 0) {
            if (nb === 2) nb = 0;
            else self.lastNeed = nb - 3;
        }
        return nb;
    }
    return 0;
}
function $0b4b8223d505c909$var$utf8CheckIncomplete ( self , buf , i ) { var j = buf . length - 1 ; if ( j < i ) return 0 ; var nb = $0b4b8223d505c909$var$utf8CheckByte ( buf [ j ] ) ; if ( nb >= 0 ) { if ( nb > 0 ) self . lastNeed = nb - 1 ; return nb ; } if ( -- j < i || nb === - 2 ) return 0 ; nb = $0b4b8223d505c909$var$utf8CheckByte ( buf [ j ] ) ; if ( nb >= 0 ) { if ( nb > 0 ) self . lastNeed = nb - 2 ; return nb ; } if ( -- j < i || nb === - 2 ) return 0 ; nb = $0b4b8223d505c909$var$utf8CheckByte ( buf [ j ] ) ; if ( nb >= 0 ) { if ( nb > 0 ) { if ( nb === 2 ) nb = 0 ; else self . lastNeed = nb - 3 ; } return nb ; } return 0 ; }
needed to complete the UTF-8 character (if applicable) are returned.
needed to complete the UTF - 8 character ( if applicable ) are returned .