Exemple #1
0
            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
Exemple #2
0
            public Blake3OutputReader Clone()
            {
                Blake3OutputReader result = DefaultBlake3OutputReader();

                result.N      = N.Clone();
                result.Block  = Block.DeepCopy();
                result.Offset = Offset;

                return(result);
            } // end function  Clone
Exemple #3
0
 public Blake3OutputReader Clone() =>
 new Blake3OutputReader
 {
     N = N.Clone(), _block = ArrayUtils.Clone(_block), Offset = Offset
 };
Exemple #4
0
 public Blake3ChunkState Clone() =>
 new Blake3ChunkState
 {
     _n            = _n.Clone(), _block = ArrayUtils.Clone(_block), _blockLen = _blockLen,
     BytesConsumed = BytesConsumed
 };