@brief Bencode������
| 53 | |
| 54 | /// @brief Bencode������ |
| 55 | class Encoder |
| 56 | { |
| 57 | private: |
| 58 | std::string m_DataBuf; |
| 59 | private: |
| 60 | void makeData(const Value& v); |
| 61 | public: |
| 62 | /// @brief ����Bencode���� |
| 63 | const std::string& operator<<(const Value& v); |
| 64 | /// @brief ��ȡ�ڲ������� |
| 65 | const std::string& operator*(); |
| 66 | /// @brief ���� |
| 67 | void Reset(); |
| 68 | private: |
| 69 | Encoder& operator=(const Encoder&); |
| 70 | Encoder(const Encoder&); |
| 71 | public: |
| 72 | Encoder(); |
| 73 | }; |
| 74 | |
| 75 | /// @brief Bencode������ |
| 76 | class Decoder |
nothing calls this directly
no outgoing calls
no test coverage detected