FMIceLinkCrc32 Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | FMIceLinkCrc32.h FMIceLinkCrc32.m |
– computeHexWithBytes:
Computes the 32-bit CRC hex string for an array of bytes.
- (NSString *)computeHexWithBytes:(NSMutableData *)bytesParameters
bytes |
The bytes. |
|---|
Discussion
Computes the 32-bit CRC hex string for an array of bytes.
Declared In
FMIceLinkCrc32.h
– computeHexWithBytes:offset:
Computes the 32-bit CRC hex string for an array of bytes.
- (NSString *)computeHexWithBytes:(NSMutableData *)bytes offset:(int)offsetParameters
bytes |
The bytes. |
|---|---|
offset |
The offset. |
Discussion
Computes the 32-bit CRC hex string for an array of bytes.
Declared In
FMIceLinkCrc32.h
– computeHexWithBytes:offset:length:
Computes the 32-bit CRC hex string for an array of bytes.
- (NSString *)computeHexWithBytes:(NSMutableData *)bytes offset:(int)offset length:(int)lengthParameters
bytes |
The bytes. |
|---|---|
offset |
The offset. |
length |
The length. |
Discussion
Computes the 32-bit CRC hex string for an array of bytes.
Declared In
FMIceLinkCrc32.h
– computeWithBytes:
Computes the 32-bit CRC for an array of bytes.
- (long long)computeWithBytes:(NSMutableData *)bytesParameters
bytes |
The bytes. |
|---|
Discussion
Computes the 32-bit CRC for an array of bytes.
Declared In
FMIceLinkCrc32.h
– computeWithBytes:offset:
Computes the 32-bit CRC for an array of bytes.
- (long long)computeWithBytes:(NSMutableData *)bytes offset:(int)offsetParameters
bytes |
The bytes. |
|---|---|
offset |
The offset. |
Discussion
Computes the 32-bit CRC for an array of bytes.
Declared In
FMIceLinkCrc32.h
– computeWithBytes:offset:length:
Computes the 32-bit CRC for an array of bytes.
- (long long)computeWithBytes:(NSMutableData *)bytes offset:(int)offset length:(int)lengthParameters
bytes |
The bytes. |
|---|---|
offset |
The offset. |
length |
The length. |
Discussion
Computes the 32-bit CRC for an array of bytes.
Declared In
FMIceLinkCrc32.h
+ crc32cPolynomial
Gets the CRC32c [polynomial](#//api/name/polynomial).
+ (long long)crc32cPolynomialDiscussion
Gets the CRC32c [polynomial](#//api/name/polynomial).
Declared In
FMIceLinkCrc32.h
+ crc32dPolynomial
Gets the CRC32d [polynomial](#//api/name/polynomial).
+ (long long)crc32dPolynomialDiscussion
Gets the CRC32d [polynomial](#//api/name/polynomial).
Declared In
FMIceLinkCrc32.h
+ crc32Polynomial
Gets the CRC32 [polynomial](#//api/name/polynomial).
+ (long long)crc32PolynomialDiscussion
Gets the CRC32 [polynomial](#//api/name/polynomial).
Declared In
FMIceLinkCrc32.h
+ crc32WithPolynomial:
Initializes a new instance of the FMIceLinkCrc32 class.
+ (FMIceLinkCrc32 *)crc32WithPolynomial:(long long)polynomialParameters
polynomial |
The polynomial. |
|---|
Discussion
Initializes a new instance of the FMIceLinkCrc32 class.
Declared In
FMIceLinkCrc32.h
+ crc32WithPolynomial:reverseBits:
Initializes a new instance of the FMIceLinkCrc32 class.
+ (FMIceLinkCrc32 *)crc32WithPolynomial:(long long)polynomial reverseBits:(bool)reverseBitsParameters
polynomial |
The polynomial. |
|---|---|
reverseBits |
Whether to reverse the bits. |
Discussion
Initializes a new instance of the FMIceLinkCrc32 class.
Declared In
FMIceLinkCrc32.h
– finalXorValue
Gets the value used to XOR the final result.
- (long long)finalXorValueDiscussion
Gets the value used to XOR the final result.
Declared In
FMIceLinkCrc32.h
– initialValue
Gets the initial value.
- (long long)initialValueDiscussion
Gets the initial value.
Declared In
FMIceLinkCrc32.h
– initWithPolynomial:
Initializes a new instance of the FMIceLinkCrc32 class.
- (instancetype)initWithPolynomial:(long long)polynomialParameters
polynomial |
The polynomial. |
|---|
Discussion
Initializes a new instance of the FMIceLinkCrc32 class.
Declared In
FMIceLinkCrc32.h
– initWithPolynomial:reverseBits:
Initializes a new instance of the FMIceLinkCrc32 class.
- (instancetype)initWithPolynomial:(long long)polynomial reverseBits:(bool)reverseBitsParameters
polynomial |
The polynomial. |
|---|---|
reverseBits |
Whether to reverse the bits. |
Discussion
Initializes a new instance of the FMIceLinkCrc32 class.
Declared In
FMIceLinkCrc32.h
– polynomial
Gets the polynomial.
- (long long)polynomialDiscussion
Gets the polynomial.
Declared In
FMIceLinkCrc32.h
– reverseBits
Gets a value indicating whether to reverse the bits.
- (bool)reverseBitsDiscussion
Gets a value indicating whether to reverse the bits.
Declared In
FMIceLinkCrc32.h
– setFinalXorValue:
Sets the value used to XOR the final result.
- (void)setFinalXorValue:(long long)valueDiscussion
Sets the value used to XOR the final result.
Declared In
FMIceLinkCrc32.h
– setInitialValue:
Sets the initial value.
- (void)setInitialValue:(long long)valueDiscussion
Sets the initial value.
Declared In
FMIceLinkCrc32.h