Go to the documentation of this file.
37 throw std::invalid_argument(
"Buffer with size 0");
63 throw std::out_of_range(
"Operation on buffer out of boundary");
79 unsigned long int Buffer::fill(
const char* src,
unsigned long int size)
82 throw std::out_of_range(
"Operation on buffer out of boundary");
84 throw std::invalid_argument(
"Attempt to copy from NULL pointer");
87 std::memcpy (
data_, src, size);
103 unsigned long int min;
126 throw std::out_of_range(
"Operation on buffer out of boundary");
145 throw std::out_of_range(
"Operation on buffer out of boundary");
146 return !memcmp(
data_, s, size);