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


Read a set value from the stream


Source position: classesh.inc line 1415

public function TReader.ReadSet(

  EnumType: Pointer



ReadSet reads a set of elements with type EnumType and returns them as an integer where each element is encoded in a bit of the integer. Thus, at most an enumerated type with 32 elements can be read with this function.


No checking is performed on the validity of EnumType. It is assumed to be a valid PTypeInfo pointer.

See also



Write a set value to the stream

Documentation generated on: Jun 22 2020