Method Stdio.Buffer()->add_ints()
- Method add_ints
Bufferadd_ints(array(int)integers,int(8bit)len)- Description
Add the integers in the specified array,
lenbytes per int. Equivalent to calling add_int for each integer, but faster, and if an error occurs the buffer will contain no new data. Either all or none of the integers will be added.Errors can occur if one of the elements in
integersis not actually an integer, if sizeof(integers)*len is bigger than can be represented in a size_t, or if the buffer cannot grow due to an out of memory condition.