contents   index   previous   next



global.ToBytes()

syntax:

ToBytes(value)

where:

value - to be cast as a buffer.

 

return:

buffer - conversion of value.

 

description:

This function converts value to a buffer and differs from global.ToBuffer() in that the conversion is actually a raw transfer of data to a buffer. The raw transfer does not convert unicode values to corresponding ASCII values. For example, the unicode string "Hit" is stored in a buffer as "\0H\0\i\0t", that is, as the hexadecimal sequence: 00 48 00 69 00 74.

 

see:

global.ToBuffer()

 

 


global.ToInt32()