TStream.WriteWord¶
Write a word to the stream.
Declaration¶
Source position: classesh.inc line 1539
public
procedure TStream.WriteWord(w: Word);
Errors¶
If an error occurs when attempting to write, an EStreamError exception will be raised.
See also¶
| Name | Description |
|---|---|
| TStream.Write | Writes data from a buffer to the stream and returns the number of bytes written. |
| TStream.ReadWord | Read a word from the stream and return its value. |
| TStream.WriteByte | Write a byte to the stream. |
| TStream.WriteDWord | Write a DWord to the stream. |
| TStream.WriteAnsiString | Write an ansistring to the stream. |