RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringStream Members

The following tables list the members exposed by TStringStream.

 
Name 
Description 
 
This is GetSize, a member of class TStream. 
 
This is Realloc, a member of class TBytesStream. 
 
This is Realloc, a member of class TMemoryStream. 
 
Replaces the memory buffer associated with the memory stream. 
 
This is the overview for the SetSize method overload. 
 
Name 
Description 
 
This is Capacity, a member of class TMemoryStream. 
 
Name 
Description 
 
Responds after the last constructor has executed. 
 
Responds before the first destructor executes. 
 
Returns a pointer to the runtime type information (RTTI) table for the object type. 
 
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). 
 
Determines whether an object is of a specific type. 
 
Returns the type of the immediate ancestor of a class. 
 
Returns the class reference for the object's class. 
 
Performs finalization on long strings, variants, and interface variables within a class. 
 
Frees the memory buffer, discarding all data associated with the memory stream. 
 
Copies a specified number of bytes from one stream to another. 
 
This is the overview for the Create constructor overload. 
 
Provides the interface for a method that processes message records. 
 
Destroys an instance of TMemoryStream. 
 
Calls message-handling methods for the object, based on the contents of the Message parameter. 
 
Checks if the current instance and the parameter are equal. 
 
This is the overview for the FieldAddress method overload. 
 
Patches the resource header for a resource that has been written to the stream. 
 
Free 
Destroys an object and frees its associated memory, if necessary. 
 
Deallocates memory allocated by a previous call to the System::TObject::NewInstance method. 
 
Returns an integer containing the hash code. 
 
Retrieves a specified interface. 
 
Returns the entry for a specific interface implemented in a class. 
 
Returns a pointer to a structure containing all of the interfaces implemented by a given class. 
 
Determines the relationship of two object types. 
 
Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. 
 
Returns the size in bytes of each instance of the object type. 
 
Loads the entire contents of a file into the memory buffer. 
 
Loads the entire contents of a stream into the memory buffer. 
 
This is the overview for the MethodAddress method overload. 
 
Returns the name of a class method by address. 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
Read 
Reads up to Count bytes from the memory stream into Buffer and advances the current position of the stream by the number of bytes read. 
 
Read 
Introduces an abstract or pure virtual method responsible for reading from the stream. 
 
Reads bytes from the stream into Buffer. 
 
Initiates streaming of components and their properties. 
 
Reads components and their properties from a stream in a resource file format. 
 
Reads a resource-file header from the stream. 
 
Returns a string that consists of up to Count bytes from the current position in the string stream, and advances the current position of the stream by the number of bytes read. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Writes the entire contents of the memory stream to the file with a given file name. 
 
Writes the entire contents of the memory stream to the stream object specified by Stream
 
Seek 
Moves the current position of the stream by Offset bytes, relative to the origin specified by Origin. 
 
Seek 
This is the overview for the Seek method overload. 
 
Sets the Size property of the memory stream. 
 
Returns a string containing the class name. 
 
Returns a string containing the unit name. 
 
Writes Count bytes from Buffer to the current position in the memory buffer and updates the current position by Count bytes. 
 
Introduces a pure virtual method for writing to the stream. 
 
Writes Count bytes from Buffer onto the stream and advances the current position of the stream by Count bytes. 
 
Initiates the writing of components and their properties to a stream. 
 
Writes components and their properties to a stream from a resource file format. 
 
Streams components and their properties in inherited forms. 
 
Streams components and their properties in inherited forms. 
 
Writes a resource-file header to the stream. 
 
Concatenates a specified string to the current position in the string stream, and updates the current position accordingly. 
 
Name 
Description 
 
This is Bytes, a member of class TBytesStream. 
 
Provides direct access to the string that stores the text represented by the TStringStream object. 
 
This is Encoding, a member of class TStringStream. 
 
Provides direct access to the memory pool allocated for the memory stream. 
 
Indicates the current offset into the stream for reading and writing. 
 
Size 
Indicates the size in bytes of the stream. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!