This is more convenient and less error prone than using the existing ctor taking char pointer and length as the buffer contains both. Also add the corresponding assign() overload for consistency. See #16490.
This is more convenient and less error prone than using the existing ctor taking char pointer and length as the buffer contains both. Also add the corresponding assign() overload for consistency. See #16490.