util_bdata_get_number


Description:


[ Version ( since = "3.24" ) ]
public int64 util_bdata_get_number (string bdata_ptr, int64 default_value)

Reads a numeric data from the bdata_ptr and moves the bdata_ptr after that number.

If the number cannot be read, then the default_value is returned instead and the bdata_ptr is left unchanged. The number might be previously stored with the util_bdata_put_number.

Parameters:

bdata_ptr

a backend specific data (bdata) pointer

default_value

a value to return, when no data can be read

Returns:

The read number, or the default_value, if the bdata_ptr doesn't point to a number.


Namespace: Camel
Package: camel-1.2