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

Method EncodeString

xdr2/encode.go:348–358  ·  view source on GitHub ↗

EncodeString writes the XDR encoded representation of the passed string to the encapsulated writer and returns the number of bytes written. Character encoding is assumed to be UTF-8 and therefore ASCII compatible. If the underlying character encoding is not compatible with this assumption, the data

(v string)

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 2

EncodeUintMethod · 0.95
EncodeFixedOpaqueMethod · 0.95

Tested by 1

TestEncoderFunction · 0.76