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

Method EncodeString

xdr/encode.go:346–358  ·  view source on GitHub ↗

EncodeString appends the XDR encoded representation of the passed string to the Encoder's data. 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 can instead be written as variable-length

(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 3

EncodeUintMethod · 0.95
EncodeFixedOpaqueMethod · 0.95
marshalErrorFunction · 0.70

Tested by 1

TestEncoderFunction · 0.76