playMaker

Author Topic: ConvertBytesLengthToReadableSize  (Read 1536 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
ConvertBytesLengthToReadableSize
« on: September 28, 2015, 07:33:51 AM »
Hi,

 When you get a file size or a texture size, it's difficult to express it mathematically into a readable manner like we expect: 1.4Gb, 3KB, etc

so I made a quick action to let you do this, and gives you total control over the format and range of sizes you want to support.

the action can be ran everyframe, so if you are watching some memory consuption or some downloads, you can use this actiona to update everyframe in nice labels.

It's on the Ecosystem too

ConvertBytesLengthToReadableSize

Bye,

 Jean