Xojo - some pieces 4u
Xojo Code Example: CRCCalculator (Cyclic Redundancy Check: CRC8, CRC16, CRC32) 1.0.1
- Read the Description
Download and try it yourself
Do you like it? Does it help you? Has it saved you time and money?
You're welcome - it's free... If you want to say thanks I appreciate a message or a small donation.
This example Xojo project shows how CRC Calculations (Cyclic Redundancy Check: CRC8, CRC16, CRC32) can be implemented in Xojo Code.
Because it's not available in the Xojo Framework, one has to either use a Plugin - or calculate the Algorithm(s) manually.
This example contains the implementation(s) explained from here.
Online CRC Calculator
This example allows to show the results by launching this Online CRC Calculator so that you can compare and verify the results.
How to use with your own Xojo-built .app?
1. copy/paste the required CRC Calculator Classes into your project.
2.1 create an instance of the Class by using a predefined Algorithm:
2.2 or create a custom Calculator:
New CRC16Calculator("CRC-16/GENIBUS", &h1021, &hffff, false, false, &hffff)
3. Get the result:
back to overview
contact: Juerg Otter