Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 247 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 247 Bytes

Bytes

  • Format bytes integer to human readable bytes string.
  • Parse human readable bytes string to bytes integer.

Format

println(bytes.Format(13231323))

12.62MB

Parse

b, _ = Parse("2M")
println(b)

2097152