Sign in Join
FPDoc Onlineexperiment

TCustomMemoryStream.SetPointer procedure

Member of TCustomMemoryStreamprotectedIn unit Classes

Sets the internal memory pointer and size of the memory block.

Declaration

pascal
procedure SetPointer(Ptr: Pointer; ASize: PtrInt)

Description

SetPointer updates the internal memory pointer and the size of the memory area pointed to.

Descendant memory streams should call this method whenever they set or reset the memory the stream should read from or write to.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.