WIP, abandoned: One-way backup tool with versioning and client-side encryption. Your precious data will never get lost!
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
namespace EternalArrowBackup.TargetBinaryStorage.InMemoryBinaryStorage
|
|
|
|
|
{
|
|
|
|
|
internal class BlockInfo
|
|
|
|
|
{
|
|
|
|
|
public BlockInfo(string blobId, int partNumber, string blockKey, byte[] blockData)
|
|
|
|
|
{
|
|
|
|
|
this.BlobId = blobId;
|
|
|
|
|
this.PartNumber = partNumber;
|
|
|
|
|
this.BlockKey = blockKey;
|
|
|
|
|
this.BlockData = blockData;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string BlobId { get; }
|
|
|
|
|
|
|
|
|
|
public int PartNumber { get; }
|
|
|
|
|
|
|
|
|
|
public string BlockKey { get; }
|
|
|
|
|
|
|
|
|
|
public byte[] BlockData { get; }
|
|
|
|
|
}
|
|
|
|
|
}
|