1BSON_ITER_AS_INT64(3) libbson BSON_ITER_AS_INT64(3)
2
3
4
6 int64_t
7 bson_iter_as_int64 (const bson_iter_t *iter);
8
10 • iter: A bson_iter_t.
11
13 The bson_iter_as_int64() function shall return the contents of the cur‐
14 rent element as if it were a BSON_TYPE_INT64 element. The currently
15 supported casts include:
16
17 • BSON_TYPE_BOOL
18
19 • BSON_TYPE_DOUBLE
20
21 • BSON_TYPE_INT32
22
23 • BSON_TYPE_INT64
24
26 A 64-bit signed integer.
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.25.1 Nov 08, 2023 BSON_ITER_AS_INT64(3)