38 lines
1.0 KiB
Java
38 lines
1.0 KiB
Java
|
package o;
|
||
|
|
||
|
/* renamed from: o.glr, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes6.dex */
|
||
|
public final class C15263glr {
|
||
|
public static final C15263glr a;
|
||
|
|
||
|
static {
|
||
|
new C15263glr();
|
||
|
a = new C15263glr();
|
||
|
}
|
||
|
|
||
|
public static C15262glq d(gkO gko) {
|
||
|
C15264gls.c(gko, "Header");
|
||
|
C15262glq c15262glq = new C15262glq(64);
|
||
|
String c = gko.c();
|
||
|
String e = gko.e();
|
||
|
int length = c.length() + 2;
|
||
|
if (e != null) {
|
||
|
length += e.length();
|
||
|
}
|
||
|
c15262glq.c(length);
|
||
|
c15262glq.b(c);
|
||
|
c15262glq.b(": ");
|
||
|
if (e != null) {
|
||
|
c15262glq.c(c15262glq.length() + e.length());
|
||
|
for (int i = 0; i < e.length(); i++) {
|
||
|
char charAt = e.charAt(i);
|
||
|
if (charAt == '\r' || charAt == '\n' || charAt == '\f' || charAt == 11) {
|
||
|
charAt = ' ';
|
||
|
}
|
||
|
c15262glq.a(charAt);
|
||
|
}
|
||
|
}
|
||
|
return c15262glq;
|
||
|
}
|
||
|
}
|