System.Classes.TStringReader.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 TStringReader

Description

Read block of characters.

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

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

See Also

Code Examples