code: public static float getFloat(byte[] b) {
          int accum = 0;
          accum = accum | (b[0] & 0xff) << 0;
          accum = accum | (b[1] & 0xff) << 8;
          accum = accum | (b[2] & 0xff) << 16;
          accum = accum | (b[3] & 0xff) << 24;
          return Float.intBitsToFloat(accum);
      }
docs: Read a string from a data input stream Credit to:
  https://github.com/NLPchina/Word2VEC_java/blob/master/src/com/ansj/vec/Word2VEC.java
  
  @param b
  @return
  @throws IOException