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

Method DecodeString

xdr2/decode.go:382–400  ·  view source on GitHub ↗

DecodeString treats the next bytes as a variable length XDR encoded string and returns the result as a string along with the number of bytes actually read. Character encoding is assumed to be UTF-8 and therefore ASCII compatible. If the underlying character encoding is not compatibile with this as

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

TestDecoderFunction · 0.95
decodeMethod · 0.95

Calls 3

DecodeUintMethod · 0.95
DecodeFixedOpaqueMethod · 0.95
unmarshalErrorFunction · 0.70

Tested by 1

TestDecoderFunction · 0.76