if(endianStyle.equals("BigEndian"))
if(endianStyle.equals(Constants.BIG_ENDIAN))
    private Float convert4bytesToFloat (String endianStyle, byte[] bb, int sbyte) {       int i;       if(endianStyle.equals("BigEndian"))           i = (bb[sbyte]&0xFF) << 24  | (bb[sbyte+1]&0xFF) << 16 | (bb[sbyte+2]&0xFF) << 8 | (bb[sbyte+3]&0xFF);       else           i = (bb[sbyte+3]&0xFF) << 24  | (bb[sbyte+2]&0xFF) << 16 | (bb[sbyte+1]&0xFF) << 8 | (bb[sbyte]&0xFF);/*Log.error("Float bits are: ");for (int j=sbyte; j<sbyte+4; j++) {   for(int k=7; k >=0; k--) {      int newvalue = (bb[j] >> k)&0x01;      Log.error(""+newvalue);   }   Log.error(" ");}Log.errorln("");*/       return new Float(Float.intBitsToFloat(i));    }