ProcInst represents a processing instruction token (e.g., <?xml version="1.0"?>). When obtained from [Decoder], the bytes in the Target and Inst fields are actual only until the next call to [Decoder.Token]. To retain the data, use the [ProcInst.Clone] method.
| 150 | // When obtained from [Decoder], the bytes in the Target and Inst fields are actual only |
| 151 | // until the next call to [Decoder.Token]. To retain the data, use the [ProcInst.Clone] method. |
| 152 | type ProcInst struct { |
| 153 | Target []byte |
| 154 | Inst []byte |
| 155 | } |
| 156 | |
| 157 | // Clone creates a deep copy of the ProcInst. |
| 158 | func (p *ProcInst) Clone() *ProcInst { |
nothing calls this directly
no outgoing calls
no test coverage detected