@@ -324,12 +324,12 @@ public override string ToString()
324
324
/// <param name="src">the source byte-array to copy from</param>
325
325
/// <param name="i">index within the internal Data array to copy that byte to</param>
326
326
/// <param name="len">the number of bytes to copy</param>
327
- public void Put ( [ CanBeNull ] byte [ ] src , int i , int len )
327
+ public void Put ( [ CanBeNull ] byte [ ] src , int destOffset , int len )
328
328
{
329
329
if ( len == 0 || src == null )
330
330
return ;
331
331
332
- Buffer . BlockCopy ( src , 0 , Data , i , len ) ;
332
+ Buffer . BlockCopy ( src , 0 , Data , destOffset , len ) ;
333
333
}
334
334
335
335
/// <summary>
@@ -339,10 +339,10 @@ public void Put([CanBeNull] byte[] src, int i, int len)
339
339
/// <param name="srcOffset">first byte in the source byte-array</param>
340
340
/// <param name="i">index within the internal Data array to copy that byte to</param>
341
341
/// <param name="len">the number of bytes to copy</param>
342
- public void Put ( [ CanBeNull ] byte [ ] src , int srcOffset , int i , int len ) {
342
+ public void Put ( [ CanBeNull ] byte [ ] src , int srcOffset , int destOffset , int len ) {
343
343
if ( len == 0 || src == null )
344
344
return ;
345
- Buffer . BlockCopy ( src , srcOffset , Data , i , len ) ;
345
+ Buffer . BlockCopy ( src , srcOffset , Data , destOffset , len ) ;
346
346
}
347
347
348
348
/// <summary>
0 commit comments