Skip to content

TWordOverlay

Helper structure for quick data extraction from a word-typed ordinal value.

Declaration

Source position: syshelph.inc line 960

type
  TWordOverlay = bitpacked record
    case Integer of
      0: (
        AsBit : Array[TWordBitIndex] of Boolean;
      );
      1: (
        AsNibble : Array[TWordNibbleIndex] of nibble = 0..15;
      );
      2: (
        AsByte : Array[TWordByteIndex] of Byte;
      );
      3: (
        AsWord : Word;
      );
      4: (
        AsByteOverlay : Array[TWordByteIndex] of TByteOverlay = bitpacked record
        case Integer of
        0: (
          AsBit : Array[TByteBitIndex] of Boolean;
        );
        1: (
          AsNibble : Array[TByteNibbleIndex] of nibble = 0..15;
        );
        2: (
          AsByte : Byte;
        );
        end;
      );
  end;

See also

Name Description
TByteOverlay Helper structure for quick data extraction from a byte-typed ordinal value.
TShortIntOverlay Helper structure for quick data extraction from a shortint-typed ordinal value.
TSmallIntOverlay Helper structure for quick data extraction from a smallint-typed ordinal value.
TDwordOverlay Helper structure for quick data extraction from a dword-typed ordinal value.
TCardinalOverlay Helper structure for quick data extraction from a cardinal-typed ordinal value.
TIntegerOverlay Helper structure for quick data extraction from a integer-typed ordinal value.
TQwordOverlay Helper structure for quick data extraction from a qword-typed ordinal value.
TInt64Overlay Helper structure for quick data extraction from a int64-typed ordinal value.
TNativeIntOverlay Helper structure for quick data extraction from a nativeint-typed ordinal value.
TNativeUIntOverlay Helper structure for quick data extraction from a nativeuint-typed ordinal value.
TWordHelper Helper for a Word-typed ordinal value.