help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TStream.ReadWord

Read a word from the stream and return its value.

Declaration

Source position: classesh.inc line 618

public function TStream.ReadWord: Word;

Description

ReadWord reads one Word (i.e. 2 bytes) from the stream and returns its value. This is a utility function which symply calls the Read function.

Errors

If the word 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.WriteWord

  

Write a word to the stream.

TStream.ReadByte

  

Read a byte from the stream and return its value.

TStream.ReadDWord

  

Read a DWord from the stream and return its value.

TStream.ReadAnsiString

  

Read an ansistring from the stream and return its value.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505