public void writeFloat ( final float value , final JBBPByteOrder byteOrder ) throws IOException { final int intValue = Float . floatToIntBits ( value ) ; if ( byteOrder == JBBPByteOrder . BIG_ENDIAN ) { this . writeShort ( intValue >>> 16 , byteOrder ) ; this . writeShort ( intValue , byteOrder ) ; } else { this . writeShort ( intValue , byteOrder ) ; this . writeShort ( intValue >>> 16 , byteOrder ) ; } }
Write an float value into the output stream .