[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Write a set value to the stream
Source position: classesh.inc line 1374
public procedure TWriter.WriteSet( |
Value: LongInt; |
SetType: Pointer |
); |
WriteSet writes a set Value consisting of elements with type EnumType. The set must be encoded 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 written with this method.
No checking is performed on the validity of EnumType. It is assumed to be a valid PTypeInfo pointer.
|
Read a set value from the stream |
lazarus-ccr.sourceforge.net |