Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
364
type
TypeOfString
struct
{}
365
366
func
EncodeString(s string) scode.Bytes {
367
return
scode.Bytes(s)
368
}
369
370
func
DecodeString(zv scode.Bytes) string {
371
return
string(zv)
Callers
7
encodeAny
Method · 0.92
BuildPrimitive
Function · 0.92
Call
Method · 0.92
encodeKey
Method · 0.92
GenValue
Function · 0.92
appendString
Function · 0.92
WrapError
Method · 0.85
Calls
1
Bytes
TypeAlias · 0.92
Tested by
no test coverage detected