View definition

func FormatBytes

Defined in github.com/astaxie/bat/utils.go

Description

Convert bytes to human readable string. Like a 2 MB, 64.2 KB, 52 B

FormatBytes is referenced in 1 repository

github.com/astaxie/bat