add a GetUTF8File(...) method with a pt::WTextStream & content to the misc
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
/*
|
||||
* Copyright (c) 2008-2021, Tomasz Sowa
|
||||
* Copyright (c) 2008-2023, Tomasz Sowa
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -664,6 +664,10 @@ bool RenameFile(const std::wstring & from, const std::wstring & to);
|
||||
bool GetUTF8File(const wchar_t * file_path, std::wstring & content, bool clear_content = true);
|
||||
bool GetUTF8File(const std::wstring & file_path, std::wstring & content, bool clear_content = true);
|
||||
|
||||
bool GetUTF8File(const wchar_t * file_path, pt::WTextStream & content, bool clear_content = true);
|
||||
bool GetUTF8File(const std::wstring & file_path, pt::WTextStream & content, bool clear_content = true);
|
||||
|
||||
|
||||
bool GetBinaryFile(const wchar_t * file_path, BinaryPage & content, bool clear_content = true);
|
||||
bool GetBinaryFile(const std::wstring & file_path, BinaryPage & content, bool clear_content = true);
|
||||
|
||||
|
Reference in New Issue
Block a user