System.ZLib.TZCompressionStream.Read
Delphi
function Read(var buffer; count: Longint): Longint; override;
function Read(Buffer: TBytes; Offset, Count: Longint): Longint; override;
C++
virtual int __fastcall Read(void *buffer, int count)/* overload */;
virtual int __fastcall Read(System::DynamicArray<System::Byte> Buffer, int Offset, int Count)/* overload */;
inline int __fastcall Read(System::DynamicArray<System::Byte> &Buffer, int 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."