Project: Stream Extension Classes
Unit: PJStreamWrapper
Class: TPJStreamWrapper
Applies to: ~>3.0
function Write(const Buffer; Count: Longint): Longint; override;
This method overrides and implements an abstract method of TStream.
Write attempts to write a specified number of bytes of data from a buffer into the wrapped stream.
Parameters:
Returns:
If the method’s return value is less than Count then not all the data could be written to the wrapped stream.
Data is written to the wrapped stream from its current position. The stream’s position is incremented by the number of bytes written.
An exception may be raised if the wrapped stream does not support write access.