alla flaggor
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: libformat-human-bytes-perl  ]

Paket: libformat-human-bytes-perl (0.06-1.1)

Länkar för libformat-human-bytes-perl

Screenshot

Debianresurser:

Hämta källkodspaketet libformat-human-bytes-perl:

Ansvariga:

Externa resurser:

Liknande paket:

Format a bytecount and make it human readable

Format::Human::Bytes is used to convert bytecount values to human-readable strings. It will return you a printable string which is more readable by humans than a simple bytecount.

For example:

   use Format::Human::Bytes;
   $readable = Format::Human::Bytes::base2($bytecount[,$decimals]);
It will convert in base 2 format.

   $readable = Format::Human::Bytes::base10($bytecount[,$decimals]);
It will convert in base 10 format.

Another way is to create constructor for example:

   $fhb = Format::Human::Bytes->new();
   $readable = $fhb->base2($bytecount[,$decimals]);
   $readable = $fhb->base10($bytecount[,$decimals]);

Märken: Software Development: Perl Development, Bibliotek, Implemented in: Perl, Role: Shared Library

Andra paket besläktade med libformat-human-bytes-perl

  • beror
  • rekommenderar
  • föreslår
  • enhances

Hämta libformat-human-bytes-perl

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 7,2 kbyte24,0 kbyte [filförteckning]