<PackageReference Include="Azure.Storage.Files.DataLake" Version="12.26.0-beta.1" />

Azure.Storage.StorageCrc64Composer

static class StorageCrc64Composer
Helper code for composing crc64 values together.
namespace Azure.Storage { internal static class StorageCrc64Composer { public static byte[] Compose(params(byte[] Crc64, long OriginalDataLength)[] partitions); public static byte[] Compose(IEnumerable<(byte[] Crc64, long OriginalDataLength)> partitions); public static byte[] Compose(params(ReadOnlyMemory<byte> Crc64, long OriginalDataLength)[] partitions); public static byte[] Compose(IEnumerable<(ReadOnlyMemory<byte> Crc64, long OriginalDataLength)> partitions); public static byte[] Compose(ReadOnlySpan<byte> leftCrc64, long leftOriginalDataLength, ReadOnlySpan<byte> rightCrc64, long rightOriginalDataLength); public static ulong Compose(params(ulong Crc64, long OriginalDataLength)[] partitions); public static ulong Compose(IEnumerable<(ulong Crc64, long OriginalDataLength)> partitions); } }