MCPcopy Create free account
hub / github.com/davecgh/go-xdr / ExampleNewEncoder

Function ExampleNewEncoder

xdr2/example_test.go:155–200  ·  view source on GitHub ↗

This example demonstrates how to manually encode XDR data from Go variables. Compare this example with the Marshal example which performs the same task automatically by utilizing a struct type definition and reflection.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

EncodeFixedOpaqueMethod · 0.95
EncodeUintMethod · 0.95
EncodeBoolMethod · 0.95
BytesMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…