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

Method EncodeBool

xdr/encode.go:182–188  ·  view source on GitHub ↗

EncodeInt appends the XDR encoded representation of the passed boolean to the Encoder's data. A MarshalError is returned if appending the data would overflow the internal data slice. Reference: RFC Section 4.4 - Boolean Represented as an XDR encoded enumeration where 0 is false and 1 is true

(v bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

TestEncoderFunction · 0.95
encodeMethod · 0.95
ExampleNewEncoderFunction · 0.95

Calls 1

EncodeIntMethod · 0.95

Tested by 2

TestEncoderFunction · 0.76
ExampleNewEncoderFunction · 0.76