MCPcopy Create free account
hub / github.com/egonelbre/exp / DecodeTree

Function DecodeTree

ber/tree.go:63–66  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

61}
62
63func DecodeTree(data []byte) (*Tree, error) {
64 d := NewDecoder(bytes.NewReader(data))
65 return ParseTree(d)
66}
67
68func (t *Tree) mustNotBeEnd() {
69 if t.Kind == EndConstructed {

Callers 2

MarshalMethod · 0.70
ASN1TreeFunction · 0.70

Calls 2

NewDecoderFunction · 0.70
ParseTreeFunction · 0.70

Tested by

no test coverage detected