Source/NFX.Erlang/ErlOutputStream.cs
/// <summary>
/// Write an Erlang tuple header to the stream. After calling this
/// method, you must write 'arity' elements to the stream or it will
/// not be possible to decode it later.
/// </summary>
Write an Erlang tuple header to the stream. After calling this
method, you must write 'arity' elements to the stream or it will
not be possible to decode it later.
Write an Erlang tuple header to the stream . After calling this method you must write ' arity ' elements to the stream or it will not be possible to decode it later .
public void WriteTupleHead(int arity)
    {
      if (arity < 0xff)
      {
        write(ErlExternalTag.SmallTuple);
        Write((byte)arity);
      }
      else
      {
        write(ErlExternalTag.LargeTuple);
        Write4BE(arity);
      }
    }
public void WriteTupleHead ( int arity ) { if ( arity < 0xff ) { write ( ErlExternalTag . SmallTuple ) ; Write ( ( byte ) arity ) ; } else { write ( ErlExternalTag . LargeTuple ) ; Write4BE ( arity ) ; } }
Write an Erlang tuple header to the stream.
Write an Erlang tuple header to the stream .
arity
int