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

TStream.ReadDWord

Read a DWord from the stream and return its value.

Declaration

Source position: classesh.inc line 1417

public function TStream.ReadDWord: Cardinal;

Description

ReadDWord reads one DWord (i.e. 4 bytes) from the stream and returns its value. This is a utility function which simply calls the Read function.

Errors

If the DWord cannot be read, a EStreamError exception will be raised.

See also

TStream.Read

  

Reads data from the stream to a buffer and returns the number of bytes read.

TStream.WriteDWord

  

Write a DWord to the stream.

TStream.ReadByte

  

Read a byte from the stream and return its value.

TStream.ReadWord

  

Read a word from the stream and return its value.

TStream.ReadAnsiString

  

Read an ansistring from the stream and return its value.


Documentation generated on: Dec 22 2024