return convert4bytesToInteger (endianStyle, bb, sbyte);
return convert4bytesToInt (endianStyle, bb, sbyte);
    private int convertBytesToInteger (int numOfBytes, String endianStyle, byte[] bb, int sbyte) {        // is it better to use a dispatch table here?        switch (numOfBytes) {           case 1: // 8-bit               return convert1byteToInteger (bb, sbyte);           case 2: // 16-bit               return convert2bytesToInteger (endianStyle, bb, sbyte);           case 3: // 24-bit (unusual)               return convert3bytesToInteger (endianStyle, bb, sbyte);           case 4: // 32-bit              return convert4bytesToInteger (endianStyle, bb, sbyte);              // This will most likely break the Java Integer. Lets not pretend              // that we support it yet. Will have to contemplate BigInteger implementation for this.            /*           case 8: // 64-bit               return convert8bytesToLong (endianStyle, bb, sbyte);              break;           */           default:              Log.errorln("XDF Can't handle binary integers of byte size:"+numOfBytes+". Aborting!");              System.exit(-1);              return -1;        }    }