Skip to content

TNativeUIntHelper.Bytes

Read or write a byte.

Declaration

Source position: syshelph.inc line 1566

public property Bytes[aIndex : TNativeUIntByteIndex]: Byte;

Description

Bytes property reads or writes byte value to a byte number determined by argument aIndex.

MyNativeUInt.Clear; // MyNativeUInt equals 0
MyNativeUInt.Bytes[1] := 1; // MyNativeUInt equals 256
WriteLn(MyNativeUInt.Bytes[1]); // 1

See also

Name Description
TNativeUIntHelper.Bits Read or write a bit.
TNativeUIntHelper.Nibbles Read or write a nibble.
TNativeUIntHelper.Words Read or write a word.
TNativeUIntHelper.DWords