MCPcopy Create free account
hub / github.com/cloudflare/go-stream / GobGeneralDecoder

Function GobGeneralDecoder

stream/encoding/gob.go:25–40  ·  view source on GitHub ↗

* Example Decoder Usage intDecGenFn := func () interface{} { decoder := encoding.GobGeneralDecoder() return func(in []byte, closenotifier chan<- bool) []int { var i int decoder(in, &i) return []int{i} } } intDecOp := encoding.NewGobDecodeRop(intDecGenFn) */

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestGobFunction · 0.85

Calls 1

ErrorMethod · 0.45

Tested by 1

TestGobFunction · 0.68