()
| 238 | } |
| 239 | |
| 240 | func (i *importedString) utf16Reader() utf16Reader { |
| 241 | if i.scanned { |
| 242 | if i.u != nil { |
| 243 | return i.u.utf16Reader() |
| 244 | } |
| 245 | return asciiString(i.s).utf16Reader() |
| 246 | } |
| 247 | return &stringUtf16Reader{ |
| 248 | s: i.s, |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | func (i *importedString) utf16RuneReader() io.RuneReader { |
| 253 | if i.scanned { |
nothing calls this directly
no test coverage detected