Cold Help System: Programming: ColdC Reference Manual: Language Structure: Data Types: Buffer


A buffer is an array of integers which are interpreted to unsigned eight-bit values. Keep this in mind, as the range of an integer in a buffer is only 0 through 255, any other number will be cast to an eight bit unsigned value.

Buffers are intended for handling character values outside of the normal printable range used by ColdC strings. A buffer is constructed by prefixing a list of integers with an accent mark (`), where each integer is the decimal value of the respective character. Buffers are logically true if not empty. The following buffer and string are equivalent:

`[98, 117, 102, 102, 101, 114]
"buffer"


Integer | Float | String | Symbol | List | Object Number | Dictionary | Error Codes | Frob | Buffer


the Cold Dark