root/lang/c/librtmp/data_rw.h @ 28892

Revision 28471, 0.5 kB (checked in by itkz, 5 years ago)

fixed rtmp_packet.c for serialize AMF packets

Line 
1
2
3extern int is_little_endian(void);
4extern int is_big_endian(void);
5
6extern int read_be16int(unsigned char *data);
7extern int read_le32int(unsigned char *data);
8extern int read_be24int(unsigned char *data);
9extern double read_be64double(unsigned char *data);
10
11extern void write_be64double(unsigned char *data, double value);
12extern void write_le32int(unsigned char *data, int value);
13extern void write_be24int(unsigned char *data, int value);
14extern void write_be16int(unsigned char *data, int value);
15
Note: See TracBrowser for help on using the browser.