API:System.Classes.TStringReader.ReadBlock
Delphi
function ReadBlock(var Buffer: TCharArray; Index, Count: Integer): Integer; override;
C++
virtual int __fastcall ReadBlock(System::DynamicArray<System::WideChar> &Buffer, int Index, int Count);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Classes.pas System.Classes.hpp |
System.Classes | TStringReader |
Description
Read block of characters.
System.Classes.TStringReader.ReadBlock inherits from System.Classes.TTextReader.ReadBlock. All content below this line refers to System.Classes.TTextReader.ReadBlock.
Read block of characters.
ReadBlock reads a block of at most Count characters to Buffer, starting at Index.
This method is functionally identical to the Microsoft .NET method TextReader.ReadBlock.
See Also
Code Examples