func (rv ReturnValue) Bytes() []byte {
	return rv.av.B
}
Bytes returns the value as a byte slice. Will be nil if the value is not actually a byte slice.
package redimo
import (
	"math/big"
	"reflect"
	"strconv"
	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/service/dynamodb"
)
type Value interface {
	ToAV() dynamodb.AttributeValue
}
type StringValue struct {
	S string
}
func (sv StringValue) ToAV() dynamodb.AttributeValue {
	return dynamodb.AttributeValue{S: aws.String(sv.S)}
}
type FloatValue struct {
	F float64
}
func (fv FloatValue) ToAV() dynamodb.AttributeValue {
	return dynamodb.AttributeValue{N: aws.String(strconv.FormatFloat(fv.F, 'G', 17, 64))}
}
type IntValue struct {
	I int64
}
func (iv IntValue) ToAV() dynamodb.AttributeValue {
	return dynamodb.AttributeValue{N: aws.String(strconv.FormatInt(iv.I, 10))}
}
type BytesValue struct {
	B []byte
}
func (bv BytesValue) ToAV() dynamodb.AttributeValue {
	return dynamodb.AttributeValue{B: bv.B}
}
type ReturnValue struct {
	av dynamodb.AttributeValue
}
func (rv ReturnValue) ToAV() dynamodb.AttributeValue {
	return rv.av
}
func (rv ReturnValue) String() string {
	return aws.StringValue(rv.av.S)
}
func (rv ReturnValue) Int() int64 {
	if aws.StringValue(rv.av.N) == "" {
		return 0
	}
	f, _, _ := new(big.Float).Parse(aws.StringValue(rv.av.N), 10)
	i, _ := f.Int64()
	return i
}
func (rv ReturnValue) Float() float64 {
	f, _ := strconv.ParseFloat(aws.StringValue(rv.av.N), 64)
	return f
}