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

Method EncodeInt

xdr/encode.go:114–128  ·  view source on GitHub ↗

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

(v int32)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

TestEncoderFunction · 0.95
EncodeEnumMethod · 0.95
EncodeBoolMethod · 0.95
encodeMethod · 0.95

Calls 1

marshalErrorFunction · 0.70

Tested by 1

TestEncoderFunction · 0.76