MCPcopy Create free account
hub / github.com/OpenPrinting/goipp / Reset

Method Reset

message.go:208–210  ·  view source on GitHub ↗

Reset the message into initial state

()

Source from the content-addressed store, hash-verified

206
207// Reset the message into initial state
208func (m *Message) Reset() {
209 *m = Message{}
210}
211
212// Encode message
213func (m *Message) Encode(out io.Writer) error {

Callers 3

TestMessageResetFunction · 0.95
DecodeExMethod · 0.95
TestMessagePrintFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestMessageResetFunction · 0.76
TestMessagePrintFunction · 0.36