Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 824 Bytes

TPJMD5Digest-Parts.md

File metadata and controls

28 lines (17 loc) · 824 Bytes

Parts property

Project: MD5 Message Digest Unit

Unit: PJMD5

Class: TPJMD5

Applies to: ~>1.0

property Parts[Idx: Integer]: LongWord; default;

Description

Parts is the default array property of TPJMD5Digest, indexed from 0 to 3.

It provides yet another means of accessing the digest data as long words and is functionally equivalent to the LongWords field.

The primary purpose of the property is not to be used as-is but to enable TPJMD5Digest variables to be accessed using an array subscript.

Note: If D is a TPJMD5Digest variable, the following are all equivalent ways of getting the 2nd long word from a digest:

  • D[1]
  • D.Parts[1]
  • D.LongWords[1]
  • D.B