def __getint(this): if this.p[0]==-128: return this.p[1] | (this.p[1]<<8), 3 elif this.p[0] == -127: return this.p[1] | (this.p[2] <<8) | (this.p[3] << 16) | (this.p[4]), 5 else: return this.p[0], 1