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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top