Subversion Repositories HomeAutomation

Rev

Rev 1916 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1916 Rev 1952
Line 72... Line 72...
72
    return this->bytes_;
72
    return this->bytes_;
73
}
73
}
74
 
74
 
75
std::string Byteset::ToCharString()
75
std::string Byteset::ToCharString()
76
{
76
{
77
    return std::string((char*)this->bytes_, this->size_ - 1);
77
    return std::string((char*)this->bytes_, this->size_);
78
}
78
}
79
 
79
 
80
std::string Byteset::ToDebugString()
80
std::string Byteset::ToDebugString()
81
{
81
{
82
    std::string debug_string;
82
    std::string debug_string;