func (v BytesValue) MarshalValueBuf(b []byte) ([]byte, error) {
	m := []byte(v)
	n := base64.StdEncoding.EncodedLen(len(m))
	if len(b) < n {
		b = make([]byte, n)
	}
	base64.StdEncoding.Encode(b, m)
	return b[:n], nil
}
MarshalValueBuf formats the value into a byte slice for encoding.
If there is enough room in the passed in slice v will be appended to it.
package protocol
import (
	"bytes"
	"encoding/base64"
	"io"
	"strconv"
	"strings"
	"time"
	"github.com/aws/aws-sdk-go-v2/aws"
)
type QuotedValue struct {
	ValueMarshaler
}
type BoolValue bool
func (v BoolValue) MarshalValue() (string, error) {
	return strconv.FormatBool(bool(v)), nil
}
func (v BoolValue) MarshalValueBuf(b []byte) ([]byte, error) {
	b = b[0:0]
	return strconv.AppendBool(b, bool(v)), nil
}
type BytesValue string
func (v BytesValue) MarshalValue() (string, error) {
	return base64.StdEncoding.EncodeToString([]byte(v)), nil
}