Description | uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables |
Contains a few functions, which make it easier to work with the AdSimpleXML.pas. Functions will move to AdSimpleXML soon, so don't use this functions provided here. Will be merged with TAdSimpleXML soon.
function WriteStreamToString(AStream:TStream): String; |
procedure ReadStreamFromString(AStream:TStream;AString:String); |
procedure WriteStream(AStream:TStream;XMLElem:TAdSimpleXMLElem;ElemName:String='data'); |
procedure ReadStream(AStream:TStream;XMLElem:TAdSimpleXMLElem;ElemName:String='data'); |
function WriteStreamToString(AStream:TStream): String; |
Writes a stream into a string encoding it as hexadecimal values. |
procedure ReadStreamFromString(AStream:TStream;AString:String); |
Reads and decodes hexadecimal values from a string and stores them in a stream. |
procedure WriteStream(AStream:TStream;XMLElem:TAdSimpleXMLElem;ElemName:String='data'); |
Writes a stream into a xml node. Parameters
|
procedure ReadStream(AStream:TStream;XMLElem:TAdSimpleXMLElem;ElemName:String='data'); |
Reads a stream writen by from a xml node. Please note, that "ReadStream" will first search for an element named "source", which may specify the path to a file which is loaded instead. See also
|