Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TStream.ReadResHeader

Read a resource header from the stream.

Declaration

Source position: classesh.inc line 1129

public procedure TStream.ReadResHeader;

Description

ReadResourceHeader reads a resource file header from the stream. It positions the stream just beyond the header.

ReadResourceHeader should not be called directly, it is called by the streaming system when needed.

Errors

If the resource header is invalid an EInvalidImage exception is raised.

See also

TStream.ReadComponentRes

  

Reads component data and resource header from a stream.

EInvalidImage

  

Exception raised when the resource header needed for streaming of a component is invalid.


Documentation generated on: Jul 24 2023