SetBytes
Set the content of this string from a vector of bytes
BOOL SetBytes( vector<byte> & vb )
Returns TRUE on success, otherwise return FALSE
EX1
void string_SetBytes_ex1() { vector<byte> vTemp = {'A','B','C','D'}; string str ="something to make it longer"; BOOL bRet = str.SetBytes(vTemp); out_int("",bRet);//true out_str(str);//"ABCD" }
vectorbase::SetBytes, string::GetBytes
origin.h