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
 
Back
Top