Vishal Rana 1109e5b250 Changed binary prefix function 10 năm trước cách đây
..
README.md 1109e5b250 Changed binary prefix function 10 năm trước cách đây
bytes.go 1109e5b250 Changed binary prefix function 10 năm trước cách đây
bytes_test.go 1109e5b250 Changed binary prefix function 10 năm trước cách đây

README.md

Bytes

Format bytes to string

Installation


## [Usage](https://github.com/labstack/gommon/blob/master/bytes/bytes_test.go)

### Decimal prefix

```go
fmt.Println(bytes.Format(1323))

1.32 KB

Binary prefix

fmt.Println(bytes.FormatB(1323))

1.29 KiB