![UML](https://camo.githubusercontent.com/eddcf7f8bb9836629b561cd9cb9c327b80351a8bdb5b4cb4301a140d3ef3346c/687474703a2f2f7777772e706c616e74756d6c2e636f6d2f706c616e74756d6c2f7376672f33534a423447386e323033474c684930334e55466a6b314f30305253433444385865305667745656755074356759506e6b6676516e356d4e3043547473494c514664416e7273373135674d4533662d7334525f574165522d6c536346786f36777543614f77476e386a393757786a59314862716d3549736f51766237566d3030)
<dependency>
<groupId>dev.xethh.utils</groupId>
<artifactId>BinarySizeUtils</artifactId>
<version>1.0.0</version>
</dependency>
BinarySize size = BinarySize.ofByte(1025L); //Create BinarySize object from byte
System.out.println(size);
//BinarySize[1025(~1.00 KB)]
System.out.println(size.readableString());
// 1.00 KB
System.out.println(size.inBytes());
// 1025.00
System.out.println(size.inKiloBytes());
// 1.00
System.out.println(size.inGigaBytes());
// 0.00
size = BinarySize.ofMegaByte(1025L); //Create BinarySize object mega byte
System.out.println(size);
// BinarySize[1074790400(~1.00 GB)]
System.out.println(size.readableString());
// 1.00 GB
System.out.println(size.inBytes());
// 1074790400.00
System.out.println(size.inMegaBytes());
// 1025.00
System.out.println(size.inGigaBytes());
// 1.00