[Overview][Constants][Types][Procedures and functions][Index] |
Read a message from stream
Source position: dbugmsg.pp line 40
procedure ReadDebugMessageFromStream( |
AStream: TStream; |
var Msg: TDebugMessage |
); |
AStream |
|
Stream from which record is read |
Msg |
|
Record to be read from stream |
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.
If the stream contains not enough bytes or is malformed, then an exception may be raised.
|
Structure describing a message |
|
|
Write a message to stream |