fun ByteArea.crc32(startValue: Int = CRC32_START_VALUE, finalize: Boolean = true, offset: Int = 0, size: Int = this.size - offset): Int
Calculates CRC32 of ByteArea from offset with size starting from startValue.
If finalize is true returned value will be final (when data processed partially for the last block).
@ExperimentalUnsignedTypes fun StreamInput.crc32(size: Int): Int
Calculates CRC32 for size bytes in the stream.