public float readFloat ( final JBBPByteOrder byteOrder ) throws IOException { final int value ; if ( byteOrder == JBBPByteOrder . BIG_ENDIAN ) { value = ( readUnsignedShort ( byteOrder ) << 16 ) | readUnsignedShort ( byteOrder ) ; } else { value = readUnsignedShort ( byteOrder ) | ( readUnsignedShort ( byteOrder ) << 16 ) ; } return Float . intBitsToFloat ( value ) ; }
Read a float value from the stream .