ByteUnit turns SizeSuffix into a string with byte unit
()
| 97 | |
| 98 | // ByteUnit turns SizeSuffix into a string with byte unit |
| 99 | func (x SizeSuffix) ByteUnit() string { |
| 100 | return x.unit("B") |
| 101 | } |
| 102 | |
| 103 | // ByteRateUnit turns SizeSuffix into a string with byte rate unit |
| 104 | func (x SizeSuffix) ByteRateUnit() string { |