Constructor (3)

Creates an IccBuf object, allocating its own data area with the same length as the text string, and copies the string into its data area.

IccBuf (const char* text,
       DataAreaType type =
extensible)
text
A null-terminated string to be copied into the new IccBuf object.
type
An enumeration that indicates whether the data area can be extended. Possible values are extensible or fixed. The default is extensible.