跳转至

Class qqmusic::crypto::Decoder

ClassList > qqmusic > crypto > Decoder

Public Functions

Type Name
Decoder (std::string && ekey)
解码器构造函数
bool decrypt ()
解码器完整解码过程
bool read2buf (qqmusic::utils::buffer && buf)
存取待解密数据到 buf_in 中

Public Functions Documentation

function Decoder

解码器构造函数

explicit qqmusic::crypto::Decoder::Decoder (
    std::string && ekey
) 

Parameters:

  • ekey 需要传入加密的密钥

function decrypt

解码器完整解码过程

bool qqmusic::crypto::Decoder::decrypt () 

  • 解密密钥
  • 初始化解密算法
  • 进行解密

function read2buf

存取待解密数据到 buf_in 中

bool qqmusic::crypto::Decoder::read2buf (
    qqmusic::utils::buffer && buf
) 

Parameters:

  • buf 缓冲区(存放未解密的数据)


The documentation for this class was generated from the following file include/qqmusic/crypto/qmc.h