func (i *Input) AppendInputBytes(bytes []byte) (ref ByteSliceReference) {
	ref.Start = uint32(len(i.RawBytes))
	i.RawBytes = append(i.RawBytes, bytes...)
	i.Length = len(i.RawBytes)
	ref.End = uint32(len(i.RawBytes))
	return
}
AppendInputBytes appends a byte slice to the current input and returns the ByteSliceReference
package ast
import (
	"bytes"
	"github.com/jensneuse/graphql-go-tools/internal/pkg/unsafebytes"
	"github.com/jensneuse/graphql-go-tools/pkg/lexer/literal"
	"github.com/jensneuse/graphql-go-tools/pkg/lexer/position"
)
type Input struct {
	RawBytes []byte
	Length int
	InputPosition int
	TextPosition position.Position
	Variables []byte
}
func (i *Input) Reset() {
	i.RawBytes = i.RawBytes[:0]
	i.Variables = i.Variables[:0]
	i.InputPosition = 0
	i.TextPosition.Reset()
}
func (i *Input) ResetInputBytes(bytes []byte) {
	i.Reset()
	i.AppendInputBytes(bytes)
	i.Length = len(i.RawBytes)
}
func (i *Input) ResetInputString(input string) {
	i.ResetInputBytes([]byte(input))
}