System.Classes.TBytesStream Methods
InheritedProtected
AfterConstruction | public | Responds after the last constructor has executed. |
BeforeDestruction | public | Responds before the first destructor executes. |
CheckDisposed | protected | This method is deprecated. |
ClassInfo | public | Returns a pointer to the run-time type information (RTTI) table for the object type. |
ClassName | public | Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). |
ClassNameIs | public | Determines whether an object is of a specific type. |
ClassParent | public | Returns the type of the immediate ancestor of a class. |
ClassType | public | Returns the class reference for the object's class. |
CleanupInstance | public | Performs finalization on long strings, variants, and interface variables within a class. |
Clear | public | Frees the memory buffer, discarding all data associated with the memory stream. |
CopyFrom | public | Copies a specified number of bytes from one stream to another. |
Create | public | |
DefaultHandler | public | Provides the interface for a method that processes message records. |
Destroy | public | |
Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
DisposeOf (deprecated) | public | DisposeOf forces the execution of the destructor code in an object. |
Equals | public | Checks whether the current instance and the Obj parameter are equal. |
FieldAddress | public | Returns the address of a published object field. |
FixupResourceHeader | public | Patches the resource header for a resource that has been written to the stream. |
Free | public | Destroys an object and frees its associated memory, if necessary. |
FreeInstance | public | Deallocates memory allocated by a previous call to the NewInstance method. |
GetByteCount | protected | |
GetByteCount64 | protected | |
GetCapabilities | protected | |
GetDisposed | protected | Getter for the Disposed property. |
GetHashCode | public | Returns an integer containing the hash code. |
GetInterface | public | Retrieves a specified interface. |
GetInterfaceEntry | public | Returns the entry for a specific interface implemented in a class. |
GetInterfaceTable | public | Returns a pointer to a structure containing all of the interfaces implemented by a given class. |
GetSize | protected | Returns the size of the streamed resource as an Int64. |
InheritsFrom | public | Determines the relationship of two object types. |
InitInstance | public | Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. |
InstanceSize | public | Returns the size in bytes of each instance of the object type. |
LoadFromFile | public | Loads the entire contents of a file into the memory buffer. |
LoadFromStream | public | Loads the entire contents of a stream into the memory buffer. |
MethodAddress | public | Returns the address of a class method by name. |
MethodName | public | Returns the name of a class method by address. |
NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
QualifiedClassName | public | Returns the qualified name of the class. |
Read | public | 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. |
Read64 | public | |
ReadBuffer | public | Reads Count bytes from the stream into Buffer . |
ReadBufferData | public | Methods responsible for reading fixed Count or SizeOf(Buffer) number of bytes from the stream into Buffer . |
ReadComponent | public | Initiates streaming of components and their properties. |
ReadComponentRes | public | Reads components and their properties from a stream in a resource file format. |
ReadData | public | Methods responsible for reading up to Count but not more than SizeOf(Buffer) bytes from the stream into Buffer . |
ReadError | protected | ReadError is called by the stream and raises the EReadError exception when a stream fails to execute a stream reading operation. |
ReadResHeader | public | Reads a resource-file header from the stream. |
Realloc | protected | Sets the size of the internal buffer to the given capacity. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
SaveToFile | public | Writes the entire contents of the memory stream to the file with a given file name. |
SaveToStream | public | Writes the entire contents of the memory stream to the stream object specified by Stream. |
Seek | public | Moves the current position of the stream by Offset bytes, relative to the origin specified by Origin . |
Seek32 | public | |
SetCapacity | protected | |
SetPointer | protected | Replaces the memory buffer associated with the memory stream. |
SetSize | public | Sets the Size property of the memory stream. |
ToString | public | Returns a string containing the class name. |
UnitName | public | Returns the name of the unit where the class is defined. |
UnitScope | public | Returns the class's unit scope. |
Write | public | Writes Count bytes from Buffer to the current position in the memory buffer and updates the current position by Count bytes. |
Write64 | public | |
WriteBuffer | public | Writes Count bytes from Buffer onto the stream. |
WriteBufferData | public | Writes up to 4 four or Count bytes from Buffer onto the stream. |
WriteComponent | public | Initiates the writing of components and their properties to a stream. |
WriteComponentRes | public | Writes components and their properties to a stream from a resource file format. |
WriteData | public | Methods responsible for writing up to Count bytes from Buffer to the stream. |
WriteDescendent | public | Streams components and their properties in inherited forms. |
WriteDescendentRes | public | Streams components and their properties in inherited forms. |
WriteError | protected | WriteError is called by the stream and raises the EWriteError exception when a stream fails to execute a stream writing operation. |
WriteResourceHeader | public | Writes a resource-file header to the stream. |