📄 rot13stream.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 + -