// Code generated by "stringer -type=SpaceUnit"; DO NOT EDIT

package speed

import "fmt"

const (
	_SpaceUnit_name_0 = "ByteUnit"
	_SpaceUnit_name_1 = "KilobyteUnit"
	_SpaceUnit_name_2 = "MegabyteUnit"
	_SpaceUnit_name_3 = "GigabyteUnit"
	_SpaceUnit_name_4 = "TerabyteUnit"
	_SpaceUnit_name_5 = "PetabyteUnit"
	_SpaceUnit_name_6 = "ExabyteUnit"
)

var (
	_SpaceUnit_index_0 = [...]uint8{0, 8}
	_SpaceUnit_index_1 = [...]uint8{0, 12}
	_SpaceUnit_index_2 = [...]uint8{0, 12}
	_SpaceUnit_index_3 = [...]uint8{0, 12}
	_SpaceUnit_index_4 = [...]uint8{0, 12}
	_SpaceUnit_index_5 = [...]uint8{0, 12}
	_SpaceUnit_index_6 = [...]uint8{0, 11}
)

func (i SpaceUnit) String() string {
	switch {
	case i == 268435456:
		return _SpaceUnit_name_0
	case i == 268500992:
		return _SpaceUnit_name_1
	case i == 268566528:
		return _SpaceUnit_name_2
	case i == 268632064:
		return _SpaceUnit_name_3
	case i == 268697600:
		return _SpaceUnit_name_4
	case i == 268763136:
		return _SpaceUnit_name_5
	case i == 268828672:
		return _SpaceUnit_name_6
	default:
		return fmt.Sprintf("SpaceUnit(%d)", i)
	}
}
