RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TReader.ReadInt64 Method

Reads an 64-bit integer from the reader object's stream and returns its value.

Pascal
function ReadInt64: Int64;
C++
__fastcall Int64 ReadInt64();

ReadInt64 is a helper method used by other reader methods to read a tagged 64-bit integer value at the current reader Position. ReadInt64 first checks the value type (TValueType) by calling the ReadValue method. If the item is a vaInt64, ReadInt64 calls Read and returns the integer value. Otherwise it calls ReadInteger, in case the value was saved in another integer format. 

 

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