e-CryptIt Engine - Checksums Xojo Plugin |

# CRC16.Constructor Constructor (console safe)

A constructor to create instance of CRC16 with settings for custom variation.

Constructor(
poly as UInt16,
referenceInitValue as UInt16,
xorOut as UInt16,
reflectIn as Boolean,
reflectOut as Boolean)

#### Parameters

poly
  The polynom for the custom variation.
referenceInitValue
  A reference starting value for the variation.
xorOut
  Value to XOR the final result with.
reflectIn
  True if bytes are reflected before put through CRC calculation, else false.
reflectOut
  True final CRC is reflected, else false.

#### Remarks

#### See Also

CRC16 Class