unsigned long setDataLength(unsigned long length)
Changes the current length of the data area and returns the new length. If the CclBuf object is not extensible, the data area length is set to either the original length of the data area, or length, whichever is less.
If length is greater than the data area length, the data is padded with nulls.