Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
208
func
(m *Message) Reset() {
209
*m = Message{}
210
}
211
212
// Encode message
213
func
(m *Message) Encode(out io.Writer) error {
Callers
3
TestMessageReset
Function · 0.95
DecodeEx
Method · 0.95
TestMessagePrint
Function · 0.45
Calls
no outgoing calls
Tested by
2
TestMessageReset
Function · 0.76
TestMessagePrint
Function · 0.36