System.ZLib.TZCompressionStream.Read
Delphi
function Read(var buffer; count: Longint): Longint; override;
C++
virtual System::LongInt __fastcall Read(void *buffer, System::LongInt count)/* overload */;
inline System::LongInt __fastcall Read(System::Sysutils::TBytes Buffer, System::LongInt Offset, System::LongInt Count){ return System::Classes::TStream::Read(Buffer, Offset, Count); }
inline System::LongInt __fastcall Read(System::Sysutils::TBytes &Buffer, System::LongInt Count){ return System::Classes::TStream::Read(Buffer, Count); }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.ZLib.pas System.ZLib.hpp |
System.ZLib | TZCompressionStream |
Description
Raises an exception of type ECompressionError.
Read operations are not permitted on a TZCompressionStream object. If a Read is attempted, an exception of type ECompressionError is raised, with the message string "Invalid Stream Operation."