Groups | Blog | Home
all groups > dotnet framework > october 2005 >

dotnet framework : BinaryReader and Byte Length


Tom_B
10/7/2005 7:54:02 PM
VB.Net

Using a BinaryReader to read the data coming from a WebResponse stream into
a byte array.

How is the stream byte length determined?

If cannot get the length, what is the best way to move bytes from the stream
to the array?

Jon Skeet [C# MVP]
10/8/2005 7:26:59 AM
[quoted text, click to view]

See http://www.pobox.com/~skeet/csharp/readbinary.html

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
AddThis Social Bookmark Button