Index: src/base64.m ================================================================== --- src/base64.m +++ src/base64.m @@ -57,22 +57,22 @@ tb[0] = of_base64_encode_table[(sb & 0xFC0000) >> 18]; tb[1] = of_base64_encode_table[(sb & 0x03F000) >> 12]; tb[2] = of_base64_encode_table[(sb & 0x000FC0) >> 6]; tb[3] = of_base64_encode_table[sb & 0x00003F]; - [ret appendCStringWithoutUTF8Checking: tb - length: 4]; + [ret appendCString: tb + withLength: 4]; } switch (rest) { case 1: tb[0] = of_base64_encode_table[buffer[i] >> 2]; tb[1] = of_base64_encode_table[(buffer[i] & 3) << 4]; tb[2] = tb[3] = '='; - [ret appendCStringWithoutUTF8Checking: tb - length: 4]; + [ret appendCString: tb + withLength: 4]; break; case 2: sb = (buffer[i] << 16) | (buffer[i + 1] << 8); @@ -79,12 +79,12 @@ tb[0] = of_base64_encode_table[(sb & 0xFC0000) >> 18]; tb[1] = of_base64_encode_table[(sb & 0x03F000) >> 12]; tb[2] = of_base64_encode_table[(sb & 0x000FC0) >> 6]; tb[3] = '='; - [ret appendCStringWithoutUTF8Checking: tb - length: 4]; + [ret appendCString: tb + withLength: 4]; break; } /*