Module Peer.Id
Module for representing peer's ID and collections built around the ID (Map
, Set
, ...).
let toString: t => string;
toString(id)
returns string representation of the ID.
let ofString: string => option(t);
ofString(idStr)
creates a new ID out ofidStr
string.idStr
must have a non-zero length. ReturnsNone
in case of invalid ID.