Siebel eScript Language Reference > Siebel eScript Commands > Clib Object Buffer Methods in Siebel eScript >
Clib.memset() Method
This method fills a specified number of bytes in a buffer with a specified character. Syntax
Clib.memset(bufferVar, char[, length])
|
|
bufferVar |
A buffer or a variable containing a buffer |
char |
The character to fill the buffer with |
length |
The number of bytes in which char is to be written |
Usage
This method fills a buffer with length bytes of char. If the buffer has not already been defined, it is created as a buffer of length bytes. If bufferVar is shorter than length, its size is increased to length. If length is not supplied, it defaults to the size of bufferVar, starting at index 0.
|