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

Function JsonGeneralDecoder

stream/encoding/json.go:24–32  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected