Exemple #1
0
 public ChasmBlob(ReadOnlyMemory <byte> content, ChasmMetadata metadata)
 {
     Content  = content;
     Metadata = metadata;
 }
Exemple #2
0
 public abstract Task <WriteResult <Sha1> > WriteObjectAsync(Func <Stream, ValueTask> beforeHash, ChasmMetadata metadata, bool forceOverwrite, ChasmRequestContext requestContext = default, CancellationToken cancellationToken = default);
Exemple #3
0
 public ChasmStream(Stream stream, ChasmMetadata metadata)
 {
     Content  = stream;
     Metadata = metadata;
 }
Exemple #4
0
 public abstract Task <WriteResult <Sha1> > WriteObjectAsync(ReadOnlyMemory <byte> buffer, ChasmMetadata metadata, bool forceOverwrite, ChasmRequestContext requestContext = default, CancellationToken cancellationToken = default);