FlickrNet.PersistentCache.Store C# (CSharp) Method

Store() private method

private Store ( Stream s, Hashtable table ) : void
s Stream
table System.Collections.Hashtable
return void
        private void Store(Stream s, Hashtable table)
        {
            Utils.WriteInt32(s, table.Count);
            foreach (DictionaryEntry entry in table)
            {
                Utils.WriteString(s, (string) entry.Key);
                persister.Write(s, (ICacheItem) entry.Value);
            }
        }