@@ -322,27 +322,27 @@ public override string ToString()
322
322
/// Copy the given byte-array data to this Msg's Data buffer.
323
323
/// </summary>
324
324
/// <param name="src">the source byte-array to copy from</param>
325
- /// <param name="i ">index within the internal Data array to copy that byte to</param>
325
+ /// <param name="dstOffset ">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 dstOffset , 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 , dstOffset , len ) ;
333
333
}
334
334
335
335
/// <summary>
336
336
/// Copy the given byte-array data to this Msg's Data buffer.
337
337
/// </summary>
338
338
/// <param name="src">the source byte-array to copy from</param>
339
339
/// <param name="srcOffset">first byte in the source byte-array</param>
340
- /// <param name="i ">index within the internal Data array to copy that byte to</param>
340
+ /// <param name="dstOffset ">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 dstOffset , 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 , dstOffset , len ) ;
346
346
}
347
347
348
348
/// <summary>
0 commit comments