44 template <
typename CharType>
67 iContents(aOther.iContents)
73 iContents = aOther.iContents;
93 return iContents.size();
101 return iContents.max_size();
113 iContents.insert(iContents.end(), aFirst, aLast);
124 if (aSource.
length() != 0)
125 iContents.assign(aSource.
data(), aSource.
data() + aSource.
length());
contents_type & contents()
base_type::size_type size_type
virtual clone_pointer clone() const
basic_binary_packet(const void *aPointer, size_type aLength)
virtual bool take_some(const_pointer &aFirst, const_pointer aLast)
virtual size_type length() const
virtual size_type max_length() const
base_type::pointer pointer
basic_binary_packet(const basic_binary_packet &aOther)
basic_binary_packet(const contents_type &aContents=contents_type())
base_type::character_type character_type
virtual const_pointer data() const
virtual void copy_from(const i_basic_packet< CharType > &aSource)
const contents_type & contents() const
std::vector< CharType > contents_type
base_type::clone_pointer clone_pointer
base_type::const_pointer const_pointer
basic_binary_packet & operator=(const basic_binary_packet &aOther)
virtual bool has_max_length() const
const character_type * const_pointer
virtual const_pointer data() const =0
std::unique_ptr< i_basic_packet > clone_pointer
virtual size_type length() const =0
basic_binary_packet< char > binary_packet