MCPcopy Create free account
hub / github.com/dolthub/doltgresql / String

Method String

utils/writer.go:148–151  ·  view source on GitHub ↗

String writes a string.

(val string)

Source from the content-addressed store, hash-verified

146
147// String writes a string.
148func (writer *Writer) String(val string) {
149 writer.VariableUint(uint64(len(val)))
150 writer.buf.WriteString(val)
151}
152
153// Id writes an internal ID.
154func (writer *Writer) Id(val id.Id) {

Callers 15

TestWriterReaderFunction · 0.95
IdMethod · 0.95
StringSliceMethod · 0.95
StringMapMethod · 0.95
SerializeMethod · 0.95
SerializeMethod · 0.95
SerializeMethod · 0.95
SerializeMethod · 0.95
SerializeMethod · 0.95
SerializeMethod · 0.95
serializeTypeVarCharFunction · 0.95
SerializeMethod · 0.95

Calls 2

VariableUintMethod · 0.95
WriteStringMethod · 0.80

Tested by 1

TestWriterReaderFunction · 0.76