27 #pragma mark Class Constants
37 #define SCDataClass @"SCData"
64 #pragma mark Creating Class Instances
65 + (instancetype)dataWithData:(NSData *)data;
68 #pragma mark Initializing Class Instances
69 - (instancetype)initWithData:(NSData *)data;
72 #pragma mark Getting Data
73 - (void)getBytes:(
void *)buffer length:(NSUInteger)length;
83 - (unichar)getUnichar;
84 - (const
char *)getCharString;
88 - (NSInteger)getNSInteger;
89 - (NSUInteger)getNSUInteger;
90 - (NSData *)getDataWithLength:(
SCSize)length;
96 #pragma mark Appending Data
97 - (void)appendByte:(
SCByte)value;
98 - (void)appendUByte:(
SCUByte)value;
99 - (void)appendShort:(
SCShort)value;
100 - (void)appendUShort:(
SCUShort)value;
103 - (void)appendLong:(
SCLong)value;
104 - (void)appendULong:(
SCULong)value;
105 - (void)appendChar:(
char)value;
106 - (void)appendUnichar:(unichar)value;
107 - (void)appendCharString:(const
char *)string;
108 - (void)appendBool:(BOOL)value;
109 - (void)appendFloat:(
SCFloat)value;
110 - (void)appendDouble:(
SCDouble)value;
111 - (void)appendNSInteger:(NSInteger)value;
112 - (void)appendNSUInteger:(NSUInteger)value;
113 - (void)appendData:(NSData *)data;
114 - (void)appendObject:(
id<
SCDating>)object;
uint64_t SCULong
Definition: SCTypes.h:82
int16_t SCShort
Definition: SCTypes.h:46
int64_t SCLong
Definition: SCTypes.h:58
Wrapper class for data objects.
Definition: SCData.h:58
int32_t SCInteger
Definition: SCTypes.h:52
uint32_t SCUInteger
Definition: SCTypes.h:76
Protocol SCDating header file.
int8_t SCByte
Definition: SCTypes.h:40
uint16_t SCUShort
Definition: SCTypes.h:70
uint8_t SCUByte
Definition: SCTypes.h:64
Class SCService header file.
Library types header file.
double SCDouble
Definition: SCTypes.h:94
Data objects communications protocol.
Definition: SCDating.h:44
Parent class of all library service classes.
Definition: SCService.h:51
float SCFloat
Definition: SCTypes.h:88
size_t SCSize
Definition: SCTypes.h:209