There is already an Unwrapper in webrtc/modules/include/module_common_types.h, but we reimplemented it in sequence_number_util.h for a few reasons: - Such a class belongs in sequence_number_util.h. - It is a cleaner implementation since we can use the rest of sequence_number_util.h functionality. - You can choose at which number the unwrapped sequence should start, which is used to avoid the edge case when a backward wrap can happen as the first few numbers are unwrapped. - This unwrapper can unwrap numbers that does not wrap 8/16/32 bits. BUG=None Review-Url: https://codereview.webrtc.org/2977603002 Cr-Commit-Position: refs/heads/master@{#19154}
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.