Read buffer question,

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can some one help me how to read read buffer into a block buffer. Buffer A
is contain 256 Kb data, I want to read data out of this buffer for every 64
kb and store into a sub buffer B, C, D, E (the size of each of these buffer
is also 64kb).

Any help are appreciated.
 
Hi,

I believe you may be looking for

Buffer.BlockCopy(src, srcOffset, dst, dstOffset, count);
 
<"=?Utf-8?B?QyMgYmVnaW5uZXI=?=" <C#
Can some one help me how to read read buffer into a block buffer. Buffer A
is contain 256 Kb data, I want to read data out of this buffer for every 64
kb and store into a sub buffer B, C, D, E (the size of each of these buffer
is also 64kb).

Any help are appreciated.

Array.Copy or Buffer.BlockCopy, perhaps?
 
Back
Top