Newbie: Help with conversion from C++/# to VB.NET please

  • Thread starter Thread starter Robert Brown
  • Start date Start date
R

Robert Brown

Hi.

This might be trivial for a lot of people, but as a newbie, I am
strugglng a bit, and it is the only line that is holding up the
project.

So, could anyone please help out here?

Here is the code

byte[] buffer = New Byte[FS.Length];

The buffer is used in the next line:
FS.Read(buffer, 0, buffer.Length);

Thanks in Advance,
Robert
 
Robert said:
Hi.

This might be trivial for a lot of people, but as a newbie, I am
strugglng a bit, and it is the only line that is holding up the
project.

So, could anyone please help out here?

Here is the code

byte[] buffer = New Byte[FS.Length];

The buffer is used in the next line:
FS.Read(buffer, 0, buffer.Length);

Thanks in Advance,
Robert

Dim buffer(fs.length -1) as Byte
 

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