Changeset 497 for trunk/Include/Classes/System/Xml/XmlDocument.ab
- Timestamp:
- Mar 28, 2008, 5:43:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Include/Classes/System/Xml/XmlDocument.ab
r468 r497 99 99 Virtual Sub Load( inStream As System.IO.Stream ) 100 100 Dim length = inStream.Length As DWord 101 Dim xmlBuffer = calloc( length + 1 ) As * StrChar101 Dim xmlBuffer = calloc( length + 1 ) As *Char 102 102 inStream.Read( xmlBuffer As *Byte, 0, length ) 103 103 inStream.Close() … … 124 124 Virtual Sub Save( outStream As System.IO.Stream ) 125 125 Dim xmlStr = InnerXmlSupportedIndent( True ) 126 outStream.Write( xmlStr.StrPtr As *Byte, 0, xmlStr.Length * SizeOf( StrChar ) )126 outStream.Write( xmlStr.StrPtr As *Byte, 0, xmlStr.Length * SizeOf( Char ) ) 127 127 outStream.Close() 128 128 End Sub
Note:
See TracChangeset
for help on using the changeset viewer.