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

Method Base64EncodeBytes

encoding/json/value.go:78–80  ·  view source on GitHub ↗

Base64EncodeBytes writes v as a base64 value in JSON string

(v []byte)

Source from the content-addressed store, hash-verified

76
77// Base64EncodeBytes writes v as a base64 value in JSON string
78func (jv Value) Base64EncodeBytes(v []byte) {
79 encodeByteSlice(jv.w, (*jv.scratch)[:0], v)
80}
81
82// Write writes v directly to the JSON document
83func (jv Value) Write(v []byte) {

Callers 2

TestEncoderFunction · 0.45
TestValueFunction · 0.45

Implementers 3

Tagencoding/cbor/cbor.go
Nilencoding/cbor/cbor.go
Undefinedencoding/cbor/cbor.go

Calls 1

encodeByteSliceFunction · 0.70

Tested by 2

TestEncoderFunction · 0.36
TestValueFunction · 0.36