crc16code function

int crc16code(
  1. String input, {
  2. Encoding? encoding,
  3. CRC16Params params = CRC16Params.ansi,
})

Gets the CRC-16 value.

Parameters:

  • input is the string to hash
  • The encoding is the encoding to use. Default is input.codeUnits
  • The params is the parameters to use. Default: CRC16Params.ansi

Implementation

int crc16code(
  String input, {
  Encoding? encoding,
  CRC16Params params = CRC16Params.ansi,
}) =>
    CRC16(params).code(input, encoding);