Source/NFX.Erlang/ErlOutputStream.cs
/// <summary>
/// Write a double value to the stream
/// </summary>
Write a double value to the stream
Write a double value to the stream
public void WriteDouble(ErlDouble d)
    {
      write(ErlExternalTag.NewFloat);
      var data = BitConverter.GetBytes(d);
      if (BitConverter.IsLittleEndian)
        Array.Reverse(data);
      Write(data);
    }
public void WriteDouble ( ErlDouble d ) { write ( ErlExternalTag . NewFloat ) ; var data = BitConverter . GetBytes ( d ) ; if ( BitConverter . IsLittleEndian ) Array . Reverse ( data ) ; Write ( data ) ; }
Write a double value to the stream
Write a double value to the stream
d
ErlDouble