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

Method decodeTag

decoder.go:272–276  ·  view source on GitHub ↗

Decode a tag

()

Source from the content-addressed store, hash-verified

270
271// Decode a tag
272func (md *messageDecoder) decodeTag() (Tag, error) {
273 t, err := md.decodeU8()
274
275 return Tag(t), err
276}
277
278// Decode a Version
279func (md *messageDecoder) decodeVersion() (Version, error) {

Callers 2

decodeMethod · 0.95
decodeCollectionMethod · 0.95

Calls 2

decodeU8Method · 0.95
TagTypeAlias · 0.85

Tested by

no test coverage detected