ACS Audio Jack iOS Library  1.0.0
ACRCRC16.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013 Advanced Card Systems Ltd. All Rights Reserved.
3  *
4  * This software is the confidential and proprietary information of Advanced
5  * Card Systems Ltd. ("Confidential Information"). You shall not disclose such
6  * Confidential Information and shall use it only in accordance with the terms
7  * of the license agreement you entered into with ACS.
8  */
9 
10 #import <Foundation/Foundation.h>
11 
18 @interface ACRCRC16 : NSObject
19 
24 - (uint16_t)value;
25 
29 - (void)reset;
30 
37 - (void)updateWithBytes:(const void *)bytes length:(NSUInteger)length;
38 
39 @end
The ACRCRC16 class is used to compute a CRC16 checksum from data provided as input value...
Definition: ACRCRC16.h:18
void reset()
Resets the CRC16 checksum to it initial state.
uint16_t value()
Returns the CRC16 checksum for all input received.