public ErlangProcessId(Atom node, uint id, uint serial, byte creation) { _node = node; _id = id; _serial = serial; _creation = creation; }
public static Atom From(string symbol) { Atom atom; if (!_atoms.TryGetValue(symbol, out atom)) { atom = new Atom(symbol); _atoms[symbol] = atom; } return atom; }
public ErlangReference(Atom node, uint id, byte creation) { _node = node; _id = id; _creation = creation; }
void WriteAtom(Atom atom) { WriteByte(Tags.Atom); byte[] symbolBytes = Encoding.ASCII.GetBytes(atom.Value); WriteUnsignedShort((ushort)symbolBytes.Length); _writer.Write(symbolBytes); }