Method DeepCopy
DeepCopy()
Copies the value and everything it holds: records, arrays, maps, bytes and fixed values are new instances, so changing the copy never changes the original. Strings, which can't change, are shared. An array stored as primitives (see TryGetInt64Array(out ReadOnlyMemory<long>)) stays one.
public AvroValue DeepCopy()
Returns
Exceptions
- AvroException
The value is nested more than 512 levels deep, as a value that contains itself is.