Size¶
The Size object represents a file size.
classDiagram
direction LR
class Size{
int inBytes
string humanReadable
}
It is possible to get file size with the extension by rendering the object directly.
Properties¶
Attribute name | Type | Description |
---|---|---|
inBytes | int |
Size in bytes |
humanReadable | string |
Returns information about the file size along with the appropriate extension (B, kB, MB etc.) |