System.ZLib.TZDecompressionStream.Write

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Write(const buffer; count: Longint): Longint; override;

C++

virtual System::LongInt __fastcall Write(const void *buffer, System::LongInt count)/* overload */;
inline System::LongInt __fastcall  Write(const System::Sysutils::TBytes Buffer, System::LongInt Offset, System::LongInt Count){ return System::Classes::TStream::Write(Buffer, Offset, Count); }
inline System::LongInt __fastcall  Write(const System::Sysutils::TBytes Buffer, System::LongInt Count){ return System::Classes::TStream::Write(Buffer, Count); }

Properties

Type Visibility Source Unit Parent
function public
System.ZLib.pas
System.ZLib.hpp
System.ZLib TZDecompressionStream

Description

Raises an exception of type ECompressionError.

Write operations are not permitted on a TZDecompressionStream object. If a Write operation is attempted, an exception of type ECompressionError is raised, with the message string set to "Invalid Stream Operation."

See Also