| 173 | } |
| 174 | |
| 175 | void TYsonString::Load(IInputStream* s) |
| 176 | { |
| 177 | EYsonType type; |
| 178 | TString data; |
| 179 | ::LoadMany(s, type, data); |
| 180 | if (data) { |
| 181 | *this = TYsonString(data, type); |
| 182 | } else { |
| 183 | *this = TYsonString(); |
| 184 | } |
| 185 | } |
| 186 | |
| 187 | //////////////////////////////////////////////////////////////////////////////// |
| 188 |
nothing calls this directly
no test coverage detected