         case .Binary(let data):
             if let string = NSString(data: data, encoding:NSASCIIStringEncoding) {
                 return string as Swift.String
-            }
-            else {
+            } else {
                 return nil
             }
         case .String(let string):

                    if let data = joinData(&generator, Int(length)) {
                        return .Binary(data)
                    }
                }
                else {
                    if let string = joinString(&generator, Int(length)) {
                        return .String(string)
                    }

                if let data = joinData(&generator, length) {
                    return .Binary(data)
                }
            } else {
                if let string = joinString(&generator, length) {
                    return .String(string)
                }
