mirror of
https://github.com/danog/Telegram.git
synced 2024-12-11 08:59:48 +01:00
15 lines
218 B
C
15 lines
218 B
C
#ifndef __PSData_h
|
|
#define __PSData_h
|
|
|
|
typedef struct
|
|
{
|
|
uint8_t *data;
|
|
NSUInteger length;
|
|
} PSData;
|
|
|
|
typedef PSData PSConstData;
|
|
|
|
#define PSDataOffset(d, offset) {d.data += offset; d.length -= offset;}
|
|
|
|
#endif
|