⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rot13stream.h

📁 SconeServer is a modular, object-orientated and extremely versatile network server framework.
💻 H
字号:
/* SconeServer (http://www.sconemad.com)Simple Rot13 text transform streamCopyright (c) 2000-2005 Andrew Wedgbury <wedge@sconemad.com> */#ifndef rot13Stream_h#define rot13Stream_h#include "sconex/Stream.h"//=========================================================================class Rot13Stream : public scx::Stream {public:  Rot13Stream(    bool rot_input,    bool rot_output  );  ~Rot13Stream();  protected:  virtual scx::Condition read(void* buffer,int n,int& na);  virtual scx::Condition write(const void* buffer,int n,int& na);  char rot13(char c);  private:  bool m_rot_input;  bool m_rot_output;  };#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -