DecodeKV Decode the encoded KV data.
(kvIdx uint64, b []byte, hash common.Hash, providerAddr common.Address, encodeType uint64)
| 225 | |
| 226 | // DecodeKV Decode the encoded KV data. |
| 227 | func (sm *ShardManager) DecodeKV(kvIdx uint64, b []byte, hash common.Hash, providerAddr common.Address, encodeType uint64) ([]byte, bool, error) { |
| 228 | return sm.DecodeOrEncodeKV(kvIdx, b, hash, providerAddr, false, encodeType) |
| 229 | } |
| 230 | |
| 231 | // EncodeKV Encode the raw KV data. |
| 232 | func (sm *ShardManager) EncodeKV(kvIdx uint64, b []byte, hash common.Hash, providerAddr common.Address, encodeType uint64) ([]byte, bool, error) { |
nothing calls this directly
no test coverage detected