[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Write a word to the stream.
Source position: classesh.inc line 614
public procedure TStream.WriteWord( |
w: Word |
); |
WriteWordwrites the word W(i.e. 2 bytes) to the stream. This is a utility function which simply calls the Writefunction. The word can be read from the stream using the ReadWordfunction.
If an error occurs when attempting to write, an EStreamErrorexception will be raised.
|
Writes data from a buffer to the stream and returns the number of bytes written. |
|
|
Read a word from the stream and return its value. |
|
|
Write a byte to the stream. |
|
|
Write a DWord to the stream. |
|
|
Write an ansistring to the stream. |