package o; import java.io.DataOutputStream; import java.io.IOException; /* renamed from: o.glD, reason: case insensitive filesystem */ /* loaded from: classes6.dex */ public abstract class AbstractC15242glD extends AbstractC15245glT { protected abstract byte[] a(); protected abstract String d(); public AbstractC15242glD(glS gls) { super(gls); } @Override // o.AbstractC15245glT protected final int e(DataOutputStream dataOutputStream) throws IOException { int size = dataOutputStream.size(); dataOutputStream.write(d(Integer.valueOf(b().value))); byte[] a = a(); dataOutputStream.write(c(a.length)); dataOutputStream.write(a); return dataOutputStream.size() - size; } @Override // o.AbstractC15245glT public final String a(String str, boolean z) { StringBuffer stringBuffer = new StringBuffer(); stringBuffer.append(super.a(str, z)).append(d()); return stringBuffer.toString(); } }