binary-streams / loggersoft.kotlin.streams / kotlin.ByteArray / crc16

crc16

fun ByteArray.crc16(startValue: Int = CRC16_START_VALUE, offset: Int = 0, size: Int = this.size - offset): Int

Calculates CRC16 of ByteArray from offset with size starting from startValue.