System.ZLib.TZDecompressionStream.Write

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Write(const buffer; count: Longint): Longint; override;
function Write(const Buffer: TBytes; Offset, Count: Longint): Longint; override;

C++

virtual int __fastcall Write(const void *buffer, int count)/* overload */;
virtual int __fastcall Write(const System::DynamicArray<System::Byte> Buffer, int Offset, int Count)/* overload */;
inline int __fastcall  Write(const System::DynamicArray<System::Byte> Buffer, int 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