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

Method EncodeUint

xdr/encode.go:139–153  ·  view source on GitHub ↗

EncodeInt appends the XDR encoded representation of the passed 32-bit unsigned integer to the Encoder's data. A MarshalError is returned if appending the data would overflow the internal data slice. Reference: RFC Section 4.2 - Unsigned Integer 32-bit big-endian unsigned integer in range [0, 429

(v uint32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

TestEncoderFunction · 0.95
EncodeFloatMethod · 0.95
EncodeOpaqueMethod · 0.95
EncodeStringMethod · 0.95
encodeMapMethod · 0.95
encodeMethod · 0.95
ExampleNewEncoderFunction · 0.95

Calls 1

marshalErrorFunction · 0.70

Tested by 2

TestEncoderFunction · 0.76
ExampleNewEncoderFunction · 0.76