public static int formatBase10(final byte[] b, int o, int value) {if (value == 0) {b[--o] = '0';return o;}final boolean isneg = value < 0;if (isneg)value = -value;while (value != 0) {b[--o] = base10byte[value % 10];value /= 10;}if (isneg)b[--o] = '-';return o;}

public static int FormatBase10(byte[] b, int o, int value){if (value == 0){b[--o] = (byte)('0');return o;}bool isneg = value < 0;if (isneg){value = -value;}while (value != 0){b[--o] = base10byte[value % 10];value /= 10;}if (isneg){b[--o] = (byte)('-');}return o;}
