package com.example.puntobip;
/* loaded from: classes.dex */
public class Utils {
    public static long leToNumeric(byte[] buffer, int size) {
        long value = 0;
        for (int i = 0; i < size; i++) {
            value += (buffer[i] & 255) << (i * 8);
        }
        return value;
    }

    public static String leToNumericString(byte[] buffer, int size) {
        return String.valueOf(leToNumeric(buffer, size));
    }

    public static String formatMoneda(long valor) {
        return "$" + String.format("%d", Long.valueOf(valor));
    }
}
