simple2bytes(string)
进制转换
{string}
{number}: 返回还原后的字节数
{number}
console.assert(simple2bytes('1b') === 1) console.assert(simple2bytes('1kb') === 1024)
← bytes2simple dayOfTheWeek →