return *this;
}
-wxTextInputStream& wxTextInputStream::operator>>(wxInt8& c)
+wxTextInputStream& wxTextInputStream::operator>>(char& c)
{
- c = (wxInt8)Read8();
+ m_input->Read(&c, 1);
return *this;
}
return *this;
}
-wxTextInputStream& wxTextInputStream::operator>>(wxUint8& c)
-{
- c = Read8();
- return *this;
-}
-
wxTextInputStream& wxTextInputStream::operator>>(wxUint16& i)
{
i = Read16();
return *this;
}
-wxTextOutputStream& wxTextOutputStream::operator<<(wxInt8 c)
+wxTextOutputStream& wxTextOutputStream::operator<<(char c)
{
- Write8((wxUint8)c);
+ m_output->Write(&c, 1);
return *this;
}
return *this;
}
-wxTextOutputStream& wxTextOutputStream::operator<<(wxUint8 c)
-{
- Write8(c);
- return *this;
-}
-
wxTextOutputStream& wxTextOutputStream::operator<<(wxUint16 c)
{
Write16(c);