<commit_before>﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DeveImageOptimizer.Helpers
{
    internal static class ValuesToStringHelper
    {
        public static String BytesToString(long byteCount)
        {
            string[] suf = { "B", "KB", "MB", "GB", "TB", "PB", "EB" }; //Longs run out around EB
            if (byteCount == 0)
                return "0" + suf[0];<commit_msg>Made value to string helper public<commit_after>﻿using System;

namespace DeveImageOptimizer.Helpers
{
    public static class ValuesToStringHelper
    {
        public static String BytesToString(long byteCount)
        {
            string[] suf = { "B", "KB", "MB", "GB", "TB", "PB", "EB" }; //Longs run out around EB
            if (byteCount == 0)
                return "0" + suf[0];
{'fraction_non_alphanumeric': 0.1268472906403941, 'fraction_numerical': 0.007389162561576354, 'mean_word_length': 2.550218340611354, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7052927', 'n_tokens_mistral': 253, 'n_tokens_neox': 237, 'n_words': 74}