top
(README.md)
byten
=====
Bit the size of file and turn it into human readable format. 

This is a Go Package that convert size of file into human readable format.

Another weekend project by [pyk](http://google.com/+bayualdiyansyah).
### Usage
First thing first, get the remote package
```
$ go get github.com/pyk/byten
```
and import package into your project
```
import "github.com/pyk/byten"
```
then bite the bytes!
```
byten.Size(1024) # => 1.0KB
byten.Size(206848) # => 202KB
byten.Size(10239999998976) # => 9.3TB
byten.Size(6314666666666665984) # => 5.5EB
```
easy huh? =))

### Docs

Nothing fancy, but you can see [here](https://godoc.org/github.com/pyk/byten)

### License
[MIT License](https://github.com/pyk/byten/blob/master/LICENSE)

Imported by 19 package(s) ΒΆ

  1. github.com/Cofyc/expvarstats
  2. github.com/KenjiTakahashi/osop
  3. github.com/astavonin/expvarmon
  4. github.com/cofyc/expvarstats
  5. github.com/distatus/osop
  6. github.com/divan/expvarmon
  7. github.com/hhatto/expvarmon
  8. github.com/jqs7/Jqs7Bot/helper
  9. github.com/layeka/expvarmon
  10. github.com/mirdhyn/osop
  11. github.com/mirrr/expvarmon
  12. github.com/mschoch/expvarmon
  13. github.com/peterhellberg/expvarmon
  14. github.com/piranha/goreplace
  15. github.com/sarum9in/goreplace
  16. github.com/taliesinb/goreplace
  17. github.com/tiborvass/expvarmon
  18. github.com/uberbrodt/expvarmon
  19. github.com/vasilcovsky/expvarmon