1
0
mirror of https://github.com/danog/Telegram.git synced 2024-11-26 20:14:43 +01:00
Telegram/Share/PSData.h

15 lines
218 B
C
Raw Permalink Normal View History

2015-10-01 18:19:52 +02:00
#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