MCPcopy
hub / github.com/olric-data/olric / Encode

Method Encode

pkg/storage/entry.go:50–50  ·  view source on GitHub ↗

Encode encodes an entry into a binary form and returns the result.

()

Source from the content-addressed store, hash-verified

48
49 // Encode encodes an entry into a binary form and returns the result.
50 Encode() []byte
51
52 // Decode decodes a byte slice into an Entry.
53 Decode([]byte)

Callers 15

PutMethod · 0.65
GetPutMethod · 0.65
TestDMap_Get_GetResponseFunction · 0.65
PutMethod · 0.65
GetPutMethod · 0.65
TestWriter_WriteArgFunction · 0.65
asyncPutOnClusterMethod · 0.65
syncPutOnClusterMethod · 0.65
PutMethod · 0.65
atomicIncrDecrMethod · 0.65
GetPutMethod · 0.65
atomicIncrByFloatMethod · 0.65

Implementers 1

Entryinternal/kvstore/entry/entry.go

Calls

no outgoing calls

Tested by 6

TestDMap_Get_GetResponseFunction · 0.52
TestWriter_WriteArgFunction · 0.52
TestEntryEncodeDecodeFunction · 0.52
TestTable_PutRawFunction · 0.52