Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

DefReadBufferSize constant

Project: MD5 Message Digest Unit

Unit: PJMD5

Class: TPJMD5

Applies to: ~>1.0

const DefReadBufferSize = 64 * 1024;

Description

This class constant determines the default buffer size used when reading data from streams and files. The constant has two uses:

  1. It provides the default value of the ReadBufferSize property.
  2. It provides the buffer size used by the CalculateFile class method and the TStream variants of the Calculate class method.

The default buffer size is 64Kb.