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

Method decode

value.go:335–337  ·  view source on GitHub ↗

Decode String Value from wire format

(data []byte)

Source from the content-addressed store, hash-verified

333
334// Decode String Value from wire format
335func (String) decode(data []byte) (Value, error) {
336 return String(data), nil
337}
338
339// Time is the Value that represents DataTime
340//

Callers

nothing calls this directly

Calls 1

StringTypeAlias · 0.85

Tested by

no test coverage detected