System.Classes.TStreamReader.ReadBlock

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

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