Sign in Join
FPDoc Onlineexperiment

ReadDebugMessageFromStream procedure

In unit DbugMsg

Read a message from stream.

Declaration

pascal
procedure ReadDebugMessageFromStream(AStream: TStream; 
 var Msg: TDebugMessage)

Arguments

AStream

Stream from which record is read.

Msg

Record to be read from stream.

Description

ReadDebugMessageFromStream reads a TDebugMessage record ( Msg) from the stream AStream.

The record is not read in a byte-ordering safe way, i.e. it cannot be exchanged between little- and big-endian systems.

Errors

If the stream contains not enough bytes or is malformed, then an exception may be raised.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.