func (t *TextValue) String() string {
	return t.value
}
String returns the string representation of this value.
package json
import (
	"fmt"
	"unicode/utf16"
	"go.uber.org/zap"
	"github.com/yorkie-team/yorkie/internal/log"
	"github.com/yorkie-team/yorkie/pkg/document/time"
)
func InitialTextNode() *RGATreeSplitNode {
	return NewRGATreeSplitNode(initialNodeID, &TextValue{
		value: "",
	})
}
type TextValue struct {
	value string
}
func NewTextValue(value string) *TextValue {
	return &TextValue{
		value: value,
	}
}
func (t *TextValue) Len() int {
	encoded := utf16.Encode([]rune(t.value))
	return len(encoded)
}