K
Kristofer Andersson
I have a weird problem. I write a XmlNode to a MemoryStream and the
data gets truncated at exactly 12k. The XmlNode and its children are
much larger than that but it always get cut at 12k.
Sample code:
Dim stream As New System.IO.MemoryStream
Dim writer As New XmlTextWriter(stream, Nothing)
myNode.WriteTo(writer)
writer = Nothing
stream.Position = 0
Debug.Write stream.Length
I can't see anything wrong in what I am doing...?
data gets truncated at exactly 12k. The XmlNode and its children are
much larger than that but it always get cut at 12k.
Sample code:
Dim stream As New System.IO.MemoryStream
Dim writer As New XmlTextWriter(stream, Nothing)
myNode.WriteTo(writer)
writer = Nothing
stream.Position = 0
Debug.Write stream.Length
I can't see anything wrong in what I am doing...?