VectorNav .NET Library
Static Public Member Functions | List of all members
VectorNav.Data.Integrity.Checksum8 Class Reference

Helpful class for working with 8-bit checksums. More...

Static Public Member Functions

static byte Compute (byte[] buffer, int index, int length)
 Computes an 8-bit XOR checksum of the provided data. More...
 

Detailed Description

Helpful class for working with 8-bit checksums.

Member Function Documentation

static byte VectorNav.Data.Integrity.Checksum8.Compute ( byte[]  buffer,
int  index,
int  length 
)
static

Computes an 8-bit XOR checksum of the provided data.

Parameters
bufferBuffer containing the data to compute the checksum on.
indexThe index to start computing the checksum at.
lengthThe number of bytes to include in the checksum.
Returns
The computed 8-bit XOR checksum.

The documentation for this class was generated from the following file: