RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStreamReader.ReadBlock Method

Read block of characters.

Pascal
function ReadBlock(const Buffer: TCharArray; Index: Integer; Count: Integer): Integer; override;
C++
virtual __fastcall int ReadBlock(const TCharArray Buffer, int Index, int Count);

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

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!