[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TCustomMemoryStream.SetPointer

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

Declaration

Source position: classesh.inc line 872

protected procedure TCustomMemoryStream.SetPointer(

  Ptr: Pointer;

  ASize: LongInt

);

Description

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

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

See also

TCustomMemoryStream.Memory

  

Pointer to the data kept in the memory stream.

TStream.Size

  

The current size of the stream.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.