// GetUint32 returns an uint32 representation of the value for the given key.
// will error if the type is not an uint32.
GetUint32 returns an uint32 representation of the value for the given key.
will error if the type is not an uint32.
// GetUint32 returns an uint32 representation of the value for the given key . // will error if the type is not an uint32 .
func (c *BaseCache) GetUint32(k cache.Key) (uint32, error) {
	value, err := c.Get(k)
	if err != nil {
		return 0, err
	}
	v, ok := value.(uint32)
	if !ok {
		return 0, fmt.Errorf("not a uint32 value. key=%s, value=%v(%T)", k.Key(), value, value)
	}
	return v, nil
}
func ( c * BaseCache ) GetUint32 ( k cache . Key ) ( uint32 , error ) { value , err := c . Get ( k ) if err != nil { return 0 , err } v , ok := value . ( uint32 ) if ! ok { return 0 , fmt . Errorf ( " " , k . Key ( ) , value , value ) } return v , nil }
GetUint32 returns an uint32 representation of the value for the given key.
GetUint32 returns an uint32 representation of the value for the given key .