what-the-bank/sources/o/hmw.java

18 lines
535 B
Java

package o;
import com.google.common.primitives.UnsignedBytes;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
/* loaded from: classes.dex */
public final class hmw {
public static byte[] c(Eaa eaa, int i) throws IOException {
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
while (i > 0) {
byteArrayOutputStream.write(eaa.a(i), 0, i);
i = eaa.b() & UnsignedBytes.MAX_VALUE;
}
return byteArrayOutputStream.toByteArray();
}
}