public IBlob CreateBlob(byte[] bytes) { if (bytes == null) { throw new ArgumentNullException(nameof(bytes)); } IBlob blob = new MemoryBlob(bytes); return(blob); }
public IBlob CreateBlob(Stream stream) { if (stream == null) { throw new ArgumentNullException(nameof(stream)); } IBlob blob = new MemoryBlob(stream); return(blob); }