| 768 | //========================================================================== |
| 769 | |
| 770 | const char *FSerializer::GetOutput(unsigned *len) |
| 771 | { |
| 772 | if (isReading()) return nullptr; |
| 773 | WriteObjects(); |
| 774 | EndObject(); |
| 775 | if (len != nullptr) |
| 776 | { |
| 777 | *len = (unsigned)w->mOutString.GetSize(); |
| 778 | } |
| 779 | return w->mOutString.GetString(); |
| 780 | } |
| 781 | |
| 782 | //========================================================================== |
| 783 | // |