MCPcopy Create free account
hub / github.com/brimdata/super / EncodeString

Function EncodeString

primitive.go:366–368  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

364type TypeOfString struct{}
365
366func EncodeString(s string) scode.Bytes {
367 return scode.Bytes(s)
368}
369
370func DecodeString(zv scode.Bytes) string {
371 return string(zv)

Callers 7

encodeAnyMethod · 0.92
BuildPrimitiveFunction · 0.92
CallMethod · 0.92
encodeKeyMethod · 0.92
GenValueFunction · 0.92
appendStringFunction · 0.92
WrapErrorMethod · 0.85

Calls 1

BytesTypeAlias · 0.92

Tested by

no test coverage detected