bufferOffset += partLength + 1;
// If this read finished the packet, handle it and reset.
- NSLog(@"cpi %d ps %d br %d ds %d", currentPacketIndex_, packetSize_, bytesRead, partLength);
if (currentPacketIndex_ >= packetSize_)
{
[self handlePacket:[[currentPacket_ retain] autorelease]];
}
// The value of the node is base64 encoded.
- NSLog(@"encoding check");
if ([[[self attributeForName:@"encoding"] stringValue] isEqualToString:@"base64"]) {
const char* str = [[self stringValue] UTF8String];
int strlen = [[self stringValue] length];