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

Method Bytes

encoding/json/encoder.go:28–30  ·  view source on GitHub ↗

Bytes returns the []byte slice of the JSON encoder

()

Source from the content-addressed store, hash-verified

26
27// Bytes returns the []byte slice of the JSON encoder
28func (e Encoder) Bytes() []byte {
29 return e.w.Bytes()
30}

Callers 1

TestEncoderFunction · 0.95

Calls 1

BytesMethod · 0.65

Tested by 1

TestEncoderFunction · 0.76