System.Classes.TStream.ReadBufferData

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ReadBufferData(var Buffer: Boolean); overload;
procedure ReadBufferData(var Buffer: Boolean; Count: NativeInt); overload;
procedure ReadBufferData(var Buffer: AnsiChar); overload;
procedure ReadBufferData(var Buffer: AnsiChar; Count: NativeInt); overload;
procedure ReadBufferData(var Buffer: Char); overload;
procedure ReadBufferData(var Buffer: Char; Count: NativeInt); overload;
procedure ReadBufferData(var Buffer: Int8); overload;
procedure ReadBufferData(var Buffer: Int8; Count: NativeInt); overload;
procedure ReadBufferData(var Buffer: UInt8); overload;
procedure ReadBufferData(var Buffer: UInt8; Count: NativeInt); overload;
procedure ReadBufferData(var Buffer: Int16); overload;
procedure ReadBufferData(var Buffer: Int16; Count: NativeInt); overload;
procedure ReadBufferData(var Buffer: UInt16); overload;
procedure ReadBufferData(var Buffer: UInt16; Count: NativeInt); overload;
procedure ReadBufferData(var Buffer: Int32); overload;
procedure ReadBufferData(var Buffer: Int32; Count: NativeInt); overload;
procedure ReadBufferData(var Buffer: UInt32); overload;
procedure ReadBufferData(var Buffer: UInt32; Count: NativeInt); overload;
procedure ReadBufferData(var Buffer: Int64); overload;
procedure ReadBufferData(var Buffer: Int64; Count: NativeInt); overload;
procedure ReadBufferData(var Buffer: UInt64); overload;
procedure ReadBufferData(var Buffer: UInt64; Count: NativeInt); overload;
procedure ReadBufferData(var Buffer: Single); overload;
procedure ReadBufferData(var Buffer: Single; Count: NativeInt); overload;
procedure ReadBufferData(var Buffer: Double); overload;
procedure ReadBufferData(var Buffer: Double; Count: NativeInt); overload;
procedure ReadBufferData(var Buffer: Extended); overload;
procedure ReadBufferData(var Buffer: Extended; Count: NativeInt); overload;
procedure ReadBufferData(var Buffer: TExtended80Rec); overload;
procedure ReadBufferData(var Buffer: TExtended80Rec; Count: NativeInt); overload;

C++

void __fastcall ReadBufferData(bool &Buffer)/* overload */;
void __fastcall ReadBufferData(bool &Buffer, NativeInt Count)/* overload */;
void __fastcall ReadBufferData(char &Buffer)/* overload */;
void __fastcall ReadBufferData(char &Buffer, NativeInt Count)/* overload */;
void __fastcall ReadBufferData(System::WideChar &Buffer)/* overload */;
void __fastcall ReadBufferData(System::WideChar &Buffer, NativeInt Count)/* overload */;
void __fastcall ReadBufferData(System::Int8 &Buffer)/* overload */;
void __fastcall ReadBufferData(System::Int8 &Buffer, NativeInt Count)/* overload */;
void __fastcall ReadBufferData(System::Byte &Buffer)/* overload */;
void __fastcall ReadBufferData(System::Byte &Buffer, NativeInt Count)/* overload */;
void __fastcall ReadBufferData(short &Buffer)/* overload */;
void __fastcall ReadBufferData(short &Buffer, NativeInt Count)/* overload */;
void __fastcall ReadBufferData(System::Word &Buffer)/* overload */;
void __fastcall ReadBufferData(System::Word &Buffer, NativeInt Count)/* overload */;
void __fastcall ReadBufferData(int &Buffer)/* overload */;
void __fastcall ReadBufferData(int &Buffer, NativeInt Count)/* overload */;
void __fastcall ReadBufferData(unsigned &Buffer)/* overload */;
void __fastcall ReadBufferData(unsigned &Buffer, NativeInt Count)/* overload */;
void __fastcall ReadBufferData(__int64 &Buffer)/* overload */;
void __fastcall ReadBufferData(__int64 &Buffer, NativeInt Count)/* overload */;
void __fastcall ReadBufferData(unsigned __int64 &Buffer)/* overload */;
void __fastcall ReadBufferData(unsigned __int64 &Buffer, NativeInt Count)/* overload */;
void __fastcall ReadBufferData(float &Buffer)/* overload */;
void __fastcall ReadBufferData(float &Buffer, NativeInt Count)/* overload */;
void __fastcall ReadBufferData(double &Buffer)/* overload */;
void __fastcall ReadBufferData(double &Buffer, NativeInt Count)/* overload */;
void __fastcall ReadBufferData(System::Extended &Buffer)/* overload */;
void __fastcall ReadBufferData(System::Extended &Buffer, NativeInt Count)/* overload */;
void __fastcall ReadBufferData(System::TExtended80Rec &Buffer)/* overload */;
void __fastcall ReadBufferData(System::TExtended80Rec &Buffer, NativeInt Count)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TStream

Description

Methods responsible for reading fixed Count or SizeOf(Buffer) number of bytes from the stream into Buffer.

Use ReadBufferData to read exactly the fixed Count or SizeOf(Buffer) number of bytes from the stream into a typed Buffer. ReadBufferData raises an EReadError exception if ReadBufferData cannot read exactly the specified number of bytes.

ReadBufferData works using the following algorithms:

ReadBufferData calls ReadData to do the actual reading.

See Also