Documentation
¶
Index ¶
- Constants
- Variables
- type Size
- func (s Size) Bytes() uint64
- func (s Size) EBytes() float64
- func (s Size) GBytes() float64
- func (s Size) KBytes() float64
- func (s Size) MBytes() float64
- func (s Size) MachineString() string
- func (s Size) MarshalText() ([]byte, error)
- func (s Size) PBytes() float64
- func (s Size) String() string
- func (s Size) TBytes() float64
- func (s *Size) UnmarshalText(b []byte)
Constants ¶
Variables ¶
View Source
var ErrBits = errors.New("unit with capital unit prefix and lower case unit (b) - bits, not bytes")
Functions ¶
This section is empty.
Types ¶
type Size ¶
type Size uint64
func (Size) MachineString ¶
func (Size) MarshalText ¶
func (*Size) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.