public Blake3ChunkState Clone() { Blake3ChunkState result = DefaultBlake3ChunkState(); result.N = N.Clone(); result.Block = Block.DeepCopy(); result.BlockLen = BlockLen; result.BytesConsumed = BytesConsumed; return(result); } // end function Clone
public Blake3OutputReader Clone() { Blake3OutputReader result = DefaultBlake3OutputReader(); result.N = N.Clone(); result.Block = Block.DeepCopy(); result.Offset = Offset; return(result); } // end function Clone
public Blake3OutputReader Clone() => new Blake3OutputReader { N = N.Clone(), _block = ArrayUtils.Clone(_block), Offset = Offset };
public Blake3ChunkState Clone() => new Blake3ChunkState { _n = _n.Clone(), _block = ArrayUtils.Clone(_block), _blockLen = _blockLen, BytesConsumed = BytesConsumed };