System.Classes.TReader.ReadVar
Delphi
procedure ReadVar(var Buffer: AnsiChar; Count: NativeInt); overload;
procedure ReadVar(var Buffer: Char; Count: NativeInt); overload;
procedure ReadVar(var Buffer: Int8; Count: NativeInt); overload;
procedure ReadVar(var Buffer: UInt8; Count: NativeInt); overload;
procedure ReadVar(var Buffer: Int16; Count: NativeInt); overload;
procedure ReadVar(var Buffer: UInt16; Count: NativeInt); overload;
procedure ReadVar(var Buffer: Int32; Count: NativeInt); overload;
procedure ReadVar(var Buffer: UInt32; Count: NativeInt); overload;
procedure ReadVar(var Buffer: Int64; Count: NativeInt); overload;
procedure ReadVar(var Buffer: UInt64; Count: NativeInt); overload;
procedure ReadVar(var Buffer: Single; Count: NativeInt); overload;
procedure ReadVar(var Buffer: Double; Count: NativeInt); overload;
procedure ReadVar(var Buffer: Extended; Count: NativeInt); overload;
procedure ReadVar(var Buffer: TExtended80Rec; Count: NativeInt); overload;
C++
void __fastcall ReadVar(char &Buffer, System::NativeInt Count)/* overload */;
void __fastcall ReadVar(System::WideChar &Buffer, System::NativeInt Count)/* overload */;
void __fastcall ReadVar(System::Int8 &Buffer, System::NativeInt Count)/* overload */;
void __fastcall ReadVar(System::UInt8 &Buffer, System::NativeInt Count)/* overload */;
void __fastcall ReadVar(System::Int16 &Buffer, System::NativeInt Count)/* overload */;
void __fastcall ReadVar(System::UInt16 &Buffer, System::NativeInt Count)/* overload */;
void __fastcall ReadVar(System::Int32 &Buffer, System::NativeInt Count)/* overload */;
void __fastcall ReadVar(System::UInt32 &Buffer, System::NativeInt Count)/* overload */;
void __fastcall ReadVar(__int64 &Buffer, System::NativeInt Count)/* overload */;
void __fastcall ReadVar(unsigned __int64 &Buffer, System::NativeInt Count)/* overload */;
void __fastcall ReadVar(float &Buffer, System::NativeInt Count)/* overload */;
void __fastcall ReadVar(double &Buffer, System::NativeInt Count)/* overload */;
void __fastcall ReadVar(System::Extended &Buffer, System::NativeInt Count)/* overload */;
void __fastcall ReadVar(System::TExtended80Rec &Buffer, System::NativeInt Count)/* overload */;
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
procedure function |
public | System.Classes.pas System.Classes.hpp |
System.Classes | TReader |
Beschreibung
Methoden, die für das Einlesen von bis zu Count
Byte aus dem internen Puffer des Reader-Objekts in den angegebenen typisierten Parameter Buffer
zuständig sind.
Wenn ReadVar nicht Count
Byte lesen kann, dann wird die Exception EReadError ausgelöst.
ReadVar setzt die aktuelle Position im internen Puffer um Count
Byte nach vorne.