Constructors
Properties
Methods
toBytes
- toBytes(): number
Returns number
toString
- toString(): string
Returns string
StaticfromString
- fromString(input: undefined | string | number): undefined | ByteValue
Parameters
- input: undefined | string | number
Returns undefined | ByteValue
Represents a byte size with a specific value and unit ByteUnits.
Remarks
The ByteValue class allows for creating and manipulating Byte size representations using various bytes size from byte to gigabytes.