Source/NFX.Erlang/ErlInputStream.cs
/// <summary>
/// Read Erlang tuple from the stream
/// </summary>
Read Erlang tuple from the stream
Read Erlang tuple from the stream
public ErlTuple ReadTuple()
      {
        int arity = readTupleHead();
        var list = new List<IErlObject>(arity);
        for (int i = 0; i < arity; i++)
          list.Add(Read());
        var res = new ErlTuple();
        res.Value = list;
        return res;
      }
public ErlTuple ReadTuple ( ) { int arity = readTupleHead ( ) ; var list = new List < IErlObject > ( arity ) ; for ( int i = 0 ; i < arity ; i ++ ) list . Add ( Read ( ) ) ; var res = new ErlTuple ( ) ; res . Value = list ; return res ; }
Read Erlang tuple from the stream
Read Erlang tuple from the stream