[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TStream.ReadResHeader

Read a resource header from the stream.

Declaration

Source position: classesh.inc line 964

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: Jun 23 2021