void extend(const Bytes & other) { auto oldSize = m_data.size(); m_data.resize(size() + other.size()); std::copy(other.chars(), other.chars() + other.size(), chars() + oldSize); }
void extend(const Bytes & other) { auto oldSize = m_data.size(); m_data.resize(size() + other.size()); std::copy(other.chars(), other.chars() + other.size(), chars() + oldSize); }