Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Restream/reindexer
/ Finalize
Method
Finalize
cjson/decoder.go:895–900 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
893
}
894
895
func
(dec *Decoder) Finalize() {
896
if
dec.ser != nil {
897
dec.ser.Close()
898
dec.ser = nil
899
}
900
}
901
902
func
(dec *Decoder) Decode(cjson []byte, dest any) (err error) {
903
Callers
4
unpackItem
Function · 0.95
BenchmarkReflectCjsonEncodeDecode
Function · 0.95
BenchmarkCJsonDecode
Function · 0.95
TestCJSONEncoderTypicalDocumentStableWire
Function · 0.95
Calls
1
Close
Method · 0.45
Tested by
3
BenchmarkReflectCjsonEncodeDecode
Function · 0.76
BenchmarkCJsonDecode
Function · 0.76
TestCJSONEncoderTypicalDocumentStableWire
Function · 0.76