Write file to argument given to 'w' command, if present

This commit is contained in:
josh committed 2018-03-20 21:19:23 -04:00
1 parent 909e56d5af
commit 8d158e4ed9
2 files changed
+19 -2

No files matched your search

+4
View File
@@ -83,6 +83,10 @@ public:
{
return !(*this == s);
}
std::string to_string() const
{
return std::string((const char *)&(*m_data)[0], m_size);
}
protected:
Encoding::Type m_encoding;