package rr;

import java.io.IOException;
import uq.e0;

/* loaded from: classes5.dex */
final class d implements or.f {

    /* renamed from: a, reason: collision with root package name */
    static final d f35104a = new d();

    d() {
    }

    @Override // or.f
    /* renamed from: a, reason: merged with bridge method [inline-methods] */
    public Character convert(e0 e0Var) {
        String j10 = e0Var.j();
        if (j10.length() == 1) {
            return Character.valueOf(j10.charAt(0));
        }
        throw new IOException("Expected body of length 1 for Character conversion but was " + j10.length());
    }
}
