bindings: adding the byte_array_to_ulong helper in the bindings.