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

Method EncodeHyper

xdr2/encode.go:186–205  ·  view source on GitHub ↗

EncodeHyper writes the XDR encoded representation of the passed 64-bit signed integer to the encapsulated writer and returns the number of bytes written. A MarshalError with an error code of ErrIO is returned if writing the data fails. Reference: RFC Section 4.5 - Hyper Integer 64-bit big-endian

(v int64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestEncoderFunction · 0.95
encodeMethod · 0.95

Calls 3

WriteMethod · 0.80
marshalErrorFunction · 0.70
ErrorMethod · 0.45

Tested by 1

TestEncoderFunction · 0.76