# ArraySegmentOfByteCopier

Package: [Microsoft.Orleans.Serialization](/orleans/docs/api/csharp/microsoft.orleans.serialization/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Serialization) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Codecs/ByteArrayCodec.cs#L295)

```csharp
public sealed class ArraySegmentOfByteCopier : IDeepCopier, IDeepCopier<ArraySegment<byte>>
```

Copier for `System.ArraySegment-1`.

## Constructors

- [ArraySegmentOfByteCopier](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.arraysegmentofbytecopier/constructors/constructor-0b8d46b7/)

## Methods

- [DeepCopy(ArraySegment&lt;byte&gt;, CopyContext)](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.codecs.arraysegmentofbytecopier/methods/deepcopy-system-arraysegment-byte-orleans-serialization-cloning-copycontext-10608ec1/)
