MCPcopy Create free account
hub / github.com/aws/smithy-go / Base64EncodeBytes

Method Base64EncodeBytes

encoding/xml/value.go:168–171  ·  view source on GitHub ↗

Base64EncodeBytes writes v as a base64 value in XML string. It will auto close the parent xml element tag.

(v []byte)

Source from the content-addressed store, hash-verified

166// Base64EncodeBytes writes v as a base64 value in XML string.
167// It will auto close the parent xml element tag.
168func (xv Value) Base64EncodeBytes(v []byte) {
169 encodeByteSlice(xv.w, (*xv.scratch)[:0], v)
170 xv.Close()
171}
172
173// BigInteger encodes v big.Int as XML value.
174// It will auto close the parent xml element tag.

Callers 1

TestValueFunction · 0.45

Calls 2

CloseMethod · 0.95
encodeByteSliceFunction · 0.70

Tested by 1

TestValueFunction · 0.36