iphone Programming Glossary: ctcopy
Inserting NSData into SQLite on the iPhone http://stackoverflow.com/questions/3319791/inserting-nsdata-into-sqlite-on-the-iphone  length int length unsigned long ixtext lentext long ctremaining unsigned char input 3 output 4 short i charsonline 0 ctcopy const unsigned char raw NSMutableString result lentext data length if lentext 1 return @ result NSMutableString stringWithCapacity.. 0 input 0 0xFC 2 output 1 input 0 0x03 4 input 1 0xF0 4 output 2 input 1 0x0F 2 input 2 0xC0 6 output 3 input 2 0x3F ctcopy 4 switch ctremaining  case 1  ctcopy 2  break case 2  ctcopy 3  break for i 0 i ctcopy i result appendString NSString stringWithFormat.. 4 input 1 0xF0 4 output 2 input 1 0x0F 2 input 2 0xC0 6 output 3 input 2 0x3F ctcopy 4 switch ctremaining  case 1  ctcopy 2  break case 2  ctcopy 3  break for i 0 i ctcopy i result appendString NSString stringWithFormat @ c base64EncodingTable.. 
 Display local UIImage on UIWebview http://stackoverflow.com/questions/5329648/display-local-uiimage-on-uiwebview  lentext self length long ctremaining 0 unsigned char inbuf 3 outbuf 4 unsigned short i 0 unsigned short charsonline 0 ctcopy 0 unsigned long ix 0 while YES ctremaining lentext ixtext if ctremaining 0 break for i 0 i 3 i  ix ixtext i if ix lentext.. 0 inbuf 0 0xFC 2 outbuf 1 inbuf 0 0x03 4 inbuf 1 0xF0 4 outbuf 2 inbuf 1 0x0F 2 inbuf 2 0xC0 6 outbuf 3 inbuf 2 0x3F ctcopy 4 switch ctremaining  case 1  ctcopy 2  break case 2  ctcopy 3  break  for i 0 i ctcopy i  result appendFormat @ c encodingTable.. 4 inbuf 1 0xF0 4 outbuf 2 inbuf 1 0x0F 2 inbuf 2 0xC0 6 outbuf 3 inbuf 2 0x3F ctcopy 4 switch ctremaining  case 1  ctcopy 2  break case 2  ctcopy 3  break  for i 0 i ctcopy i  result appendFormat @ c encodingTable outbuf i for i ctcopy i 4 i.. 
 RSA Encryption-Decryption in iphone http://stackoverflow.com/questions/788569/rsa-encryption-decryption-in-iphone  length int length unsigned long ixtext lentext long ctremaining unsigned char input 3 output 4 short i charsonline 0 ctcopy const unsigned char raw NSMutableString result lentext data length if lentext 1 return @ result NSMutableString stringWithCapacity.. 0 input 0 0xFC 2 output 1 input 0 0x03 4 input 1 0xF0 4 output 2 input 1 0x0F 2 input 2 0xC0 6 output 3 input 2 0x3F ctcopy 4 switch ctremaining case 1 ctcopy 2 break case 2 ctcopy 3 break for i 0 i ctcopy i result appendString NSString stringWithFormat.. 0x03 4 input 1 0xF0 4 output 2 input 1 0x0F 2 input 2 0xC0 6 output 3 input 2 0x3F ctcopy 4 switch ctremaining case 1 ctcopy 2 break case 2 ctcopy 3 break for i 0 i ctcopy i result appendString NSString stringWithFormat @ c base64EncodingTable output.. 
 
 
     
      |