System.Classes.TStreamReader.ReadBlock

From RAD Studio API Documentation
Jump to: navigation, search

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 TStreamReader

Description

Read block of characters.

ReadBlock reads a block of at most Count characters from the stream to Buffer, starting at Index.

This method is functionally identical to the Microsoft .NET method StreamReader.ReadBlock.

See Also

Code Examples