Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TNativeUIntHelper.Bytes

Read or write a byte

Declaration

Source position: syshelph.inc line 1096

public property TNativeUIntHelper.Bytes[aIndex: TNativeUIntByteIndex] : Byte
  read GetByte
  write PutByte;

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

TNativeUIntHelper.Bits

  

Read or write a bit

TNativeUIntHelper.Nibbles

  

Read or write a nibble

TNativeUIntHelper.Words

  

Read or write a word

TNativeUIntHelper.DWords


Documentation generated on: Sep 29 2022