MCPcopy Create free account
hub / github.com/digitalocean/go-libvirt / eventDecoder

Function eventDecoder

rpc.go:405–409  ·  view source on GitHub ↗

eventDecoder decodes an event from a xdr buffer.

(buf []byte, e interface{})

Source from the content-addressed store, hash-verified

403
404// eventDecoder decodes an event from a xdr buffer.
405func eventDecoder(buf []byte, e interface{}) error {
406 dec := xdr.NewDecoder(bytes.NewReader(buf))
407 _, err := dec.Decode(e)
408 return err
409}
410
411type typedParamDecoder struct{}
412

Callers 3

TestDecodeEventFunction · 0.85
TestStreamFunction · 0.85
RouteMethod · 0.85

Calls 1

DecodeMethod · 0.95

Tested by 2

TestDecodeEventFunction · 0.68
TestStreamFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…