mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-23 19:20:53 +08:00
18 lines
341 B
C
18 lines
341 B
C
|
#ifndef __utils_h
|
||
|
#define __utils_h
|
||
|
|
||
|
#include <stdio.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
|
||
|
uint32_t load_be32(const void *p);
|
||
|
uint16_t load_be16(const void *p);
|
||
|
uint32_t load_be24(const void *p);
|
||
|
uint32_t load_le32(const void *p);
|
||
|
void set_be24(void *p, uint32_t val);
|
||
|
void set_le32(void *p, uint32_t val);
|
||
|
void set_be32(void *p, uint32_t val);
|
||
|
|
||
|
|
||
|
#endif
|