Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 674 Bytes

TPJMD5-DefReadBufferSize.md

File metadata and controls

22 lines (13 loc) · 674 Bytes

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.