Skip to content

TStreamAdapter.CopyTo

Copy data to destination stream

Declaration

Source position: classesh.inc line 1327

public 
  function CopyTo(stm: IStream; cb: LargeUint; out cbRead: LargeUint; 
                 out cbWritten: LargeUint) : HRESULT;  Virtual;

Description

CopyTo implements #rtl.types.IStream.CopyTo .

Errors

This function must be overridden and will raise a runerror 217 when called directly.