RAD Studio VCL Reference
TWriter.WriteInteger Method (Int64)

Writes the integer value passed in Value to the writer object's stream.

procedure WriteInteger(Value: Longint); overload;
procedure WriteInteger(Value: Int64); overload;
__fastcall WriteInteger(Longint Value);
__fastcall WriteInteger(Int64 Value);

WriteInteger is used internally by the component streaming system to write component properties to a stream. Use WriteInteger for writing component integer properties to streams. 

WriteInteger checks to ensure that Value is the correct type before calling Write to write the integer value and its value type to the stream. WriteInteger handles integers of different sizes. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!