code: public void writeFloat(float value) {
  		try {
  	        buffer.writeInt(4);
  	        buffer.writeFloat(value);
  		} catch (Exception e) {
  			throw new BinaryWriteFailedException(e);
  		}
  	}
docs: Writes primitive float to the output stream
  
  @param value value to write