You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To do this, the public variant record with Bytes, LongWords and A, B, C, & D fields need to be made private and renamed with f prefixes if necessary.
Then new read-only properties named after the fields need to be created with appropriate private read methods that access the fields. These "getters" could be made inline.
The text was updated successfully, but these errors were encountered:
Getters for the A, B, C & D fields could have (indexed?) getters that simply read from the appropriate fields of the private version of the LongWords array.
delphidabbler
changed the title
Make all accesses to TPJMD5Digest
Make all accesses to TPJMD5Digest's fields read only
Aug 29, 2022
Note that removing Parts[] would be a breaking change.
Come to think of it, making the fields read only would also be a breaking change, even though there's absolutely no reason for a user to write to them!
To do this, the public variant record with Bytes, LongWords and A, B, C, & D fields need to be made private and renamed with
f
prefixes if necessary.Then new read-only properties named after the fields need to be created with appropriate private read methods that access the fields. These "getters" could be made inline.
The text was updated successfully, but these errors were encountered: