MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / NewNilValueEncoder

Function NewNilValueEncoder

internal/utils/kvstore/value_encoder_nil.go:8–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6}
7
8func NewNilValueEncoder[T []byte]() *NilValueEncoder[T] {
9 return &NilValueEncoder[T]{}
10}
11
12func (this *NilValueEncoder[T]) Encode(value T) ([]byte, error) {
13 return nil, nil

Callers 2

InitMethod · 0.92
InitMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected