MCPcopy 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
13type BaseObjectEncoder[T any] struct {

Callers 15

FileHeaderUnsafeMethod · 0.65
iterateKeysMethod · 0.65
deleteKeysMethod · 0.65
setMethod · 0.65
getWithKeyBytesMethod · 0.65

Calls

no outgoing calls