code: func FixedVal(data uint64, t Type) (interface{}, error) {
  	switch t {
  	case Int32Type:
  		return int32(data), nil
  	case Uint32Type:
  		return uint32(data), nil
  	case Int64Type:
  		return int64(data), nil
  	case Uint64Type:
  		return data, nil
  	case FloatType:
  		return math.Float32frombits(uint32(data)), nil
  	case DoubleType:
  		return math.Float64frombits(data), nil
  	}
  
  	return nil, errors.New("invalid type")
  }
docs: // FixedVal will infer a fixed size value from the passed data