|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
BinaryReader and Byte LengthVB.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? Thanks. Tom_B <T***@discussions.microsoft.com> wrote:
> VB.Net See http://www.pobox.com/~skeet/csharp/readbinary.html> > 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 - <sk***@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet If replying to the group, please do not mail me too |
|||||||||||||||||||||||