Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoEdgeLab/EdgeNode
/ Decode
Method
Decode
internal/utils/kvstore/value_encoder.go:10–10 ·
view source on GitHub ↗
(valueBytes []byte)
Source
from the content-addressed store, hash-verified
8
Encode(value T) ([]byte, error)
9
EncodeField(value T, fieldName string) ([]byte, error)
10
Decode(valueBytes []byte) (value T, err error)
11
}
12
13
type
BaseObjectEncoder[T any]
struct
{
Callers
15
FileHeaderUnsafe
Method · 0.65
iterateKeys
Method · 0.65
deleteKeys
Method · 0.65
set
Method · 0.65
getWithKeyBytes
Method · 0.65
TestStringValueEncoder_Encode
Function · 0.65
TestIntValueEncoder_Encode
Function · 0.65
TestBytesValueEncoder_Encode
Function · 0.65
TestBytesValueEncoder_Bool
Function · 0.65
TestBaseObjectEncoder_Encode
Function · 0.65
TestBaseObjectEncoder_Encode2
Function · 0.65
BenchmarkStringValueEncoder_Encode
Function · 0.65
Calls
no outgoing calls
Tested by
11
TestStringValueEncoder_Encode
Function · 0.52
TestIntValueEncoder_Encode
Function · 0.52
TestBytesValueEncoder_Encode
Function · 0.52
TestBytesValueEncoder_Bool
Function · 0.52
TestBaseObjectEncoder_Encode
Function · 0.52
TestBaseObjectEncoder_Encode2
Function · 0.52
BenchmarkStringValueEncoder_Encode
Function · 0.52
BenchmarkIntValueEncoder_Encode
Function · 0.52
BenchmarkUIntValueEncoder_Encode
Function · 0.52
TestInfoArg_Encode
Function · 0.52
TestAllowCookieInfo_Encode
Function · 0.52