public static List <uint> ParseUnloadedNodes(string nodeStream) { return(SyncBuffer.SplitObjectStream(nodeStream).Select(entry => uint.Parse(entry)).ToList()); }
protected DoubleSyncBuffer(Action <string> syncLoaded, Action <string> syncUnloaded) { loadedBuffer = new SyncBuffer(syncLoaded); unloadedBuffer = new SyncBuffer(syncUnloaded); }
public static List <LoadedNodeSync> ParseLoadedNodes(string nodeStream) { return(SyncBuffer.SplitObjectStream(nodeStream).Select(entry => (LoadedNodeSync)entry).ToList()); }
public static List <uint> ParseNodeIDs(string stream) { return(SyncBuffer.SplitObjectStream(stream).Select(uint.Parse).ToList()); }