public static long getResultSize(byte[] delta) {int p = 0;int c;do {c = delta[p++] & 0xff;} while ((c & 0x80) != 0);long resLen = 0;int shift = 0;do {c = delta[p++] & 0xff;resLen |= ((long) (c & 0x7f)) << shift;shift += 7;} while ((c & 0x80) != 0);return resLen;}

public static long getResultSize ( byte [ ] delta ) { int p = 0 ; int c ; do { c = delta [ p ++ ] & 0xff ; } while ( ( c & 0x80 ) != 0 ) ; long resLen = 0 ; int shift = 0 ; do { c = delta [ p ++ ] & 0xff ; resLen |= ( ( long ) ( c & 0x7f ) ) << shift ; shift += 7 ; } while ( ( c & 0x80 ) != 0 ) ; return resLen ; }
public static long GetResultSize(byte[] delta){int p = 0;int c;do{c = delta[p++] & unchecked((int)(0xff));}while ((c & unchecked((int)(0x80))) != 0);long resLen = 0;int shift = 0;do{c = delta[p++] & unchecked((int)(0xff));resLen |= ((long)(c & unchecked((int)(0x7f)))) << shift;shift += 7;}while ((c & unchecked((int)(0x80))) != 0);return resLen;}
