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

Method DecodeBytesEx

message.go:257–259  ·  view source on GitHub ↗

DecodeBytesEx decodes message from byte slice It is extended version of the DecodeBytes method, with additional DecoderOptions parameter

(data []byte, opt DecoderOptions)

Source from the content-addressed store, hash-verified

255// It is extended version of the DecodeBytes method, with additional
256// DecoderOptions parameter
257func (m *Message) DecodeBytesEx(data []byte, opt DecoderOptions) error {
258 return m.DecodeEx(bytes.NewBuffer(data), opt)
259}
260
261// Print pretty-prints the message. The 'request' parameter affects
262// interpretation of Message.Code: it is interpreted either

Callers 1

testDecodeFunction · 0.95

Calls 1

DecodeExMethod · 0.95

Tested by 1

testDecodeFunction · 0.76