(r binary.Reader, root *xmlTree)
| 75 | const xmlAttributeSize = 20 |
| 76 | |
| 77 | func (a *xmlAttribute) decode(r binary.Reader, root *xmlTree) error { |
| 78 | a.namespace = root.decodeString(r) |
| 79 | a.name = root.decodeString(r) |
| 80 | a.rawValue = root.decodeString(r) |
| 81 | typedValue, err := decodeValue(r, root) |
| 82 | a.typedValue = typedValue |
| 83 | return err |
| 84 | } |
| 85 | |
| 86 | func (a *xmlAttribute) encode(w binary.Writer) { |
| 87 | a.namespace.encode(w) |
nothing calls this directly
no test coverage detected