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

Struct Encoder

encoding/xml/encoder.go:25–28  ·  view source on GitHub ↗

Encoder is an XML encoder that supports construction of XML values using methods. The encoder takes in a writer and maintains a scratch buffer.

Source from the content-addressed store, hash-verified

23// Encoder is an XML encoder that supports construction of XML values
24// using methods. The encoder takes in a writer and maintains a scratch buffer.
25type Encoder struct {
26 w writer
27 scratch *[]byte
28}
29
30// NewEncoder returns an XML encoder
31func NewEncoder(w writer) *Encoder {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected