System.TMarshal.WriteInt16
Delphi
class procedure WriteInt16(const Ptr: TPtrWrapper; Ofs: NativeInt; Value: Smallint); overload;
class procedure WriteInt16(const Ptr: TPtrWrapper; Value: Smallint); overload;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| procedure | public | System.pas | System | TMarshal |
Description
Writes a Smallint value into a block of memory.
WriteInt16 writes the 16-bit integer Value at offset Ofs into a block of memory referenced by the Ptr wrapped pointer.