fixed little bug in Java I/O Stream
This commit is contained in:
parent
416e96c169
commit
09d9678e11
@ -63,7 +63,7 @@ namespace hgl
|
||||
|
||||
bool readUTF (UTF16String &str)
|
||||
{
|
||||
return in?in->ReadUTF8ShortString(str);
|
||||
return in?in->ReadUTF8ShortString(str):false;
|
||||
}
|
||||
};//class JavaInputStream
|
||||
}//namespace io
|
||||
|
@ -54,8 +54,8 @@ namespace hgl
|
||||
return out?out->WriteUTF16BEChars(wstr,count):false;
|
||||
}
|
||||
|
||||
bool writeUTF (const UTF8String &str){return out?out->WriteUTF8ShortString(str);}
|
||||
bool writeUTF (const UTF16String &str){return out?out->WriteUTF8ShortString(str);}
|
||||
bool writeUTF (const UTF8String &str){return out?out->WriteUTF8ShortString(str):false;}
|
||||
bool writeUTF (const UTF16String &str){return out?out->WriteUTF8ShortString(str):false;}
|
||||
};//class JavaOutputStream
|
||||
}//namespace io
|
||||
}//namespace hgl
|
||||
|
Loading…
x
Reference in New Issue
Block a user