XMLDocument and NetworkStream (VB.NET 2005)

S

Sid Price

Jon Skeet said:
2) You're not not rewinding your MemoryStream on the reading side. Use
theData.Position = 0
before passing it to theDoc.Load
Thank you for spotting that, when I correct that error the code works as
required.
BTW: the three strange bytes (EF BB EF) are indeed the BOM for UTF-8
encoding and they appear not be a problem.
Again Jon thank you for all your help,
Sid.
 

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

Top