ByteSize
Index
Methods
__add__
- Parameters- other: object
 - Returns ByteSize
__eq__
- Parameters- other: object
 - Returns bool
__ge__
- Parameters- other: object
 - Returns bool
__gt__
- Parameters- other: object
 - Returns bool
__hash__
- Return hash based on the bytes value. - Returns int
__le__
- Parameters- other: object
 - Returns bool
__lt__
- Parameters- other: object
 - Returns bool
__mul__
- Parameters- other: object
 - Returns ByteSize
__post_init__
- Returns None
__rmul__
- Parameters- other: object
 - Returns ByteSize
__str__
- Returns str
__sub__
- Parameters- other: object
 - Returns ByteSize
__truediv__
- Parameters- other: object
 - Returns float
from_gb
- Parameters- gb: float
 - Returns ByteSize
from_kb
- Parameters- kb: float
 - Returns ByteSize
from_mb
- Parameters- mb: float
 - Returns ByteSize
from_tb
- Parameters- tb: float
 - Returns ByteSize
to_gb
- Returns float
to_kb
- Returns float
to_mb
- Returns float
to_tb
- Returns float
validate
- Parameters- value: Any
 - Returns ByteSize
Represents a byte size.