MCPcopy Create free account
hub / github.com/XmirrorSecurity/OpenSCA-cli / Flush

Method Flush

opensca/sca/java/xml/marshal.go:307–309  ·  view source on GitHub ↗

Flush flushes any buffered XML to the underlying writer. See the EncodeToken documentation for details about when it is necessary.

()

Source from the content-addressed store, hash-verified

305// Flush flushes any buffered XML to the underlying writer.
306// See the EncodeToken documentation for details about when it is necessary.
307func (enc *Encoder) Flush() error {
308 return enc.p.w.Flush()
309}
310
311// Close the Encoder, indicating that no more data will be written. It flushes
312// any buffered XML to the underlying writer and returns an error if the

Callers 3

EncodeMethod · 0.45
EncodeElementMethod · 0.45
CloseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected