Convert Value to Bytes Method
The Convert Value to Bytes method converts the value that the value argument contains to bytes, and then places this value in a buffer. This method is unique to Siebel eScript. For more information, see Make Sure the JavaScript Interpreter Can Run a Function.
This method does not convert a Unicode value to a corresponding ASCII value. For example, it stores the Unicode string Hit as the following value:
\OH\Oi\Ot
This value is the following hexadecimal sequence:
00 48 00 69 00 74
Format
ToBytes(value)
The following table describes the arguments for the Convert Value to Bytes method.
Argument | Description |
---|---|
value |
The value that this method converts to bytes, and then places in a buffer. |