Lines Matching +defs:code +defs:string
39 class Err : public Exception {public: Err(const std::string &what) : Exception(INVALID_DATA_FORMAT, "HuffmanDecoder: " + what) {}};
45 unsigned int Decode(code_t code, /* out */ value_t &value) const;
53 CodeInfo(code_t code=0, unsigned int len=0, value_t value=0) : code(code), len(len), value(value) {}
54 inline bool operator<(const CodeInfo &rhs) const {return code < rhs.code;}
55 code_t code;
75 static code_t NormalizeCode(code_t code, unsigned int codeBits);
91 Err(ErrorType e, const std::string &s)
114 virtual void ProcessDecompressedData(const byte *string, size_t length)
115 {AttachedTransformation()->Put(string, length);}
124 void OutputString(const byte *string, size_t length);