MCPcopy Create free account
hub / github.com/Kitware/VTK / ToUnicode

Method ToUnicode

IO/Core/vtkTextCodec.cxx:70–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void vtkTextCodec::ToUnicode(istream& inputStream, vtkTextCodec::OutputIterator& output)
71{
72 try
73 {
74 while (!inputStream.eof())
75 {
76 const vtkTypeUInt32 CodePoint = NextUTF32CodePoint(inputStream);
77 *output++ = CodePoint;
78 }
79 }
80 catch (...)
81 {
82 if (!inputStream.eof())
83 {
84 throw;
85 }
86 }
87}
88
89vtkTextCodec::~vtkTextCodec() = default;
90

Callers 4

IsValidMethod · 0.95
ToStringMethod · 0.95
ReadDataMethod · 0.45
RequestDataMethod · 0.45

Calls 1

eofMethod · 0.45

Tested by

no test coverage detected