public static void writeFloat(DataOutputStream dos,boolean isBigEndian,float val) throws IOException {
  if (!isBigEndian) {
    writeLittleEndianFloat(dos,val);
  }
 else {
    dos.writeFloat(val);
  }
}

public static void writeFloat ( DataOutputStream dos , boolean isBigEndian , float val ) throws IOException { if ( ! isBigEndian ) { writeLittleEndianFloat ( dos , val ) ; } else { dos . writeFloat ( val ) ; } }
write a float from the output stream , byte - swapping as necessary
