crc32.h
Go to the documentation of this file.
1 // License: Apache 2.0. See LICENSE file in root directory.
2 // Copyright(c) 2023 Intel Corporation. All Rights Reserved.
3 #pragma once
4 
5 #include <cstdint>
6 #include <stddef.h>
7 
8 
9 namespace rsutils {
10 namespace number {
11 
12 
13 // Calculates standard 32bit CRC code
14 uint32_t calc_crc32( const uint8_t * buf, size_t bufsize );
15 
16 
17 } // namespace number
18 } // namespace rsutils
uint8_t
unsigned char uint8_t
Definition: stdint.h:78
uint32_t
unsigned int uint32_t
Definition: stdint.h:80
rsutils::number::calc_crc32
uint32_t calc_crc32(const uint8_t *buf, size_t bufsize)
Calculate CRC code for arbitrary characters buffer.
Definition: crc32.cpp:47
rsutils
Definition: dds-participant.h:30
buf
GLenum GLuint GLenum GLsizei const GLchar * buf
Definition: glad/glad/glad.h:3610


librealsense2
Author(s): LibRealSense ROS Team
autogenerated on Mon Apr 22 2024 02:12:55