/// <summary> /// Saves the given bytes under the given ID /// </summary> public void Save(string id, byte[] bytes, Dictionary <string, string> metadata) { _data[id] = new InMemBlob(metadata, bytes); }
/// <summary> /// Saves the given bytes under the given ID /// </summary> public void Save(string id, byte[] bytes, Dictionary <string, string> metadata = null) { _data[id] = new InMemBlob(metadata ?? new Dictionary <string, string>(), bytes); }
/// <summary> /// Saves the given bytes under the given ID /// </summary> public void Save(string id, byte[] bytes, Dictionary<string, string> metadata) { _data[id] = new InMemBlob(metadata, bytes); }